PageRenderTime 156ms CodeModel.GetById 17ms RepoModel.GetById 0ms 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
Possible License(s): LGPL-2.1
  1. #!/bin/bash
  2. # Send a URL of the form secondlife://... to Second Life.
  3. #
  4. URL="$1"
  5. if [ -z "$URL" ]; then
  6. echo Usage: $0 secondlife://...
  7. exit
  8. fi
  9. RUN_PATH=`dirname "$0" || echo .`
  10. cd "${RUN_PATH}/.."
  11. exec ./secondlife -url \'"${URL}"\'