torbrowser: fix argument handling in wrapper

With $@ unquoted, the wrapper would always just pass "" to firefox

(cherry picked from commit 4741627bcf)
This commit is contained in:
Joachim Fasting
2016-04-28 19:04:23 +02:00
parent 5ccb23ff86
commit 94137534be

View File

@@ -64,7 +64,7 @@ in stdenv.mkDerivation rec {
~/Data/Browser/profile.default/preferences/extension-overrides.js
fi
export LD_LIBRARY_PATH=${ldLibraryPath}:$out/share/tor-browser/Browser/TorBrowser/Tor
$out/share/tor-browser/Browser/firefox -no-remote -profile ~/Data/Browser/profile.default "$@"
$out/share/tor-browser/Browser/firefox -no-remote -profile ~/Data/Browser/profile.default "\$@"
EOF
chmod +x $out/bin/tor-browser