/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
- #!/bin/bash
- # Send a URL of the form secondlife://... to Second Life.
- #
- URL="$1"
- if [ -z "$URL" ]; then
- echo Usage: $0 secondlife://...
- exit
- fi
- RUN_PATH=`dirname "$0" || echo .`
- cd "${RUN_PATH}/.."
- exec ./secondlife -url \'"${URL}"\'