Files
SingularityViewer/indra/newview/linux_tools/handle_secondlifeprotocol.sh
2010-04-02 02:48:44 -03:00

18 lines
244 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 ./snowglobe -url \'"${URL}"\'