torbrowser: fix argument handling in wrapper

With $@ unquoted, the wrapper would always just pass "" to firefox
This commit is contained in:
Joachim Fasting
2016-04-28 19:04:23 +02:00
parent 38ea8c6c30
commit 4741627bcf

View File

@@ -65,7 +65,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