[or-cvs] r14368: Ohh, the proper way to start an app from a script is "open". (tor/trunk/contrib/osx)

phobos at seul.org phobos at seul.org
Mon Apr 14 23:30:39 UTC 2008


Author: phobos
Date: 2008-04-14 19:30:39 -0400 (Mon, 14 Apr 2008)
New Revision: 14368

Modified:
   tor/trunk/contrib/osx/TorPostflight
Log:
Ohh, the proper way to start an app from a script is "open". 


Modified: tor/trunk/contrib/osx/TorPostflight
===================================================================
--- tor/trunk/contrib/osx/TorPostflight	2008-04-13 21:27:08 UTC (rev 14367)
+++ tor/trunk/contrib/osx/TorPostflight	2008-04-14 23:30:39 UTC (rev 14368)
@@ -124,6 +124,6 @@
 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



More information about the tor-commits mailing list