Files
SingularityViewer/indra/newview/linux_tools/handle_secondlifeprotocol.sh.in
2021-07-18 15:33:42 -04:00

18 lines
266 B
Bash
Executable File

#!/usr/bin/env 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}"\'