From c5c856b295652b7ff30f8037e3a2bf081e2f4a10 Mon Sep 17 00:00:00 2001 From: Andrew Lewman Date: Mon, 14 Apr 2008 23:30:39 +0000 Subject: [PATCH] Ohh, the proper way to start an app from a script is "open". svn:r14368 --- contrib/osx/TorPostflight | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/osx/TorPostflight b/contrib/osx/TorPostflight index 00a91b9c99..456a8a839d 100644 --- a/contrib/osx/TorPostflight +++ b/contrib/osx/TorPostflight @@ -124,6 +124,6 @@ fi if [ -f /Applications/Firefox.app/Contents/MacOS/firefox ]; then if [ -f $TARGET/torbutton-$TORBUTTON_VERSION.xpi ]; then # Open firefox with a prompt to install the torbutton xpi - su $USER /Applications/Firefox.app/Contents/MacOS/firefox $TARGET/torbutton-$TORBUTTON_VERSION.xpi + su $USER open -a /Applications/Firefox.app $TARGET/torbutton-$TORBUTTON_VERSION.xpi fi fi