PageRenderTime 377ms CodeModel.GetById 195ms app.highlight 1ms RepoModel.GetById 180ms app.codeStats 0ms

/indra/newview/linux_tools/handle_secondlifeprotocol.sh

https://bitbucket.org/lindenlab/viewer-beta/
Shell | 17 lines | 8 code | 6 blank | 3 comment | 2 complexity | d87c13c26551a7f1c956f465bb19a34b MD5 | raw file
 1#!/bin/bash
 2
 3# Send a URL of the form secondlife://... to Second Life.
 4#
 5
 6URL="$1"
 7
 8if [ -z "$URL" ]; then
 9    echo Usage: $0 secondlife://...
10    exit
11fi
12
13RUN_PATH=`dirname "$0" || echo .`
14cd "${RUN_PATH}/.."
15
16exec ./secondlife -url \'"${URL}"\'
17