diff options
Diffstat (limited to '')
-rwxr-xr-x | linden/indra/newview/linux_tools/handle_secondlifeprotocol.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/linden/indra/newview/linux_tools/handle_secondlifeprotocol.sh b/linden/indra/newview/linux_tools/handle_secondlifeprotocol.sh index 422d4dd..2702d71 100755 --- a/linden/indra/newview/linux_tools/handle_secondlifeprotocol.sh +++ b/linden/indra/newview/linux_tools/handle_secondlifeprotocol.sh | |||
@@ -13,7 +13,9 @@ fi | |||
13 | RUN_PATH=`dirname "$0" || echo .` | 13 | RUN_PATH=`dirname "$0" || echo .` |
14 | cd "${RUN_PATH}" | 14 | cd "${RUN_PATH}" |
15 | 15 | ||
16 | #yeah, why just send a dbus message if we can spawn a whole new instance of the viewer just for sending the message? | 16 | if [ `pidof do-not-directly-run-imprudence-bin` ]; then |
17 | #exec ./imprudence -url \'"${URL}"\' | 17 | exec dbus-send --type=method_call --dest=com.secondlife.ViewerAppAPIService /com/secondlife/ViewerAppAPI com.secondlife.ViewerAppAPI.GoSLURL string:"$1" |
18 | #</sarcasm> | 18 | else |
19 | exec dbus-send --type=method_call --dest=com.secondlife.ViewerAppAPIService /com/secondlife/ViewerAppAPI com.secondlife.ViewerAppAPI.GoSLURL string:"$1" | 19 | exec ./imprudence -url \'"${URL}"\' |
20 | fi | ||
21 | |||