[tor-commits] [tor-browser-bundle/maint-3.6] launch script: quote arguments with spaces

gk at torproject.org gk at torproject.org
Fri May 30 06:35:56 UTC 2014


commit d755aeec17412dda08c2ef352f1f45371e34aefd
Author: yar <yardenack at gmail.com>
Date:   Thu May 29 15:17:51 2014 -0700

    launch script: quote arguments with spaces
---
 RelativeLink/RelativeLink.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/RelativeLink/RelativeLink.sh b/RelativeLink/RelativeLink.sh
index 0d25a28..ad155f9 100755
--- a/RelativeLink/RelativeLink.sh
+++ b/RelativeLink/RelativeLink.sh
@@ -227,7 +227,7 @@ cd "${HOME}"
 # (probably filenames or URLs) to Firefox.
 # !!! Dash above comment! Now we pass command-line arguments we got (except --debug) to Firefox.
 # !!! Use at your own risk!
-./Browser/firefox -no-remote -profile Data/Browser/profile.default ${@}
+./Browser/firefox -no-remote -profile Data/Browser/profile.default "${@}"
 exitcode="$?"
 if [ "$exitcode" -ne 0 ]; then
 	complain "Tor Browser exited abnormally.  Exit code: $exitcode"



More information about the tor-commits mailing list