Ohh, the proper way to start an app from a script is "open".

svn:r14368
This commit is contained in:
Andrew Lewman 2008-04-14 23:30:39 +00:00
parent 67916707b5
commit c5c856b295

View File

@ -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