1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

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
No known key found for this signature in database
GPG key ID: 4330820E1E04DCF4

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