commit 09111c4e8df1272dcbcf02f5c823e139801c44c4 Author: Ben Burrill bburrill98@gmail.com Date: Thu Jul 26 14:31:54 2018 -0700
Bug 26951: Fix execdesktop argument passing
Prior to this change, arguments with spaces were flattened, so running
./start-tor-browser.desktop --search "hello world"
would be converted to
./start-tor-browser.desktop --search hello world
opening up two windows, one search for "hello" and one trying to connect to http://world
Fixes #18022 as well. --- projects/tor-browser/RelativeLink/execdesktop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/projects/tor-browser/RelativeLink/execdesktop b/projects/tor-browser/RelativeLink/execdesktop index 0dc7a42..27328b2 100755 --- a/projects/tor-browser/RelativeLink/execdesktop +++ b/projects/tor-browser/RelativeLink/execdesktop @@ -11,4 +11,4 @@ else echo "Launching '${TBB_START_PROG}'..." fi
-eval "${TBB_START_PROG} $@" +${TBB_START_PROG} "$@"