summaryrefslogtreecommitdiff
path: root/indra/newview/linux_tools/handle_secondlifeprotocol.sh
blob: 203012132e7b3b62a7b702e7d2016d4bbb9335d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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}"\'