Files
SingularityViewer/indra/newview/linux_tools/handle_secondlifeprotocol.sh.in
Inusaito Sayori a7c424fc68 Fix remaining issues with new packaging system (mostly Linux)
Thanks to Duncan Armundsen and Damian Zhaoying for the pointers
(merges slightly with alchemy)
2015-01-27 12:08:46 -05:00

18 lines
258 B
Bash
Executable 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 ./@VIEWER_BRANDING_ID@ -url \'"${URL}"\'