diff options
author | Joachim Fasting <joachifm@fastmail.fm> | 2016-04-28 19:04:23 +0200 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2016-04-28 23:33:26 +0200 |
commit | 4741627bcf60e9b16cd767a8d3ded6bcbf3691b2 (patch) | |
tree | 40ec920723341227ffb7ebd8b0b1fbe915766722 /pkgs/tools | |
parent | 38ea8c6c30ac7be2a89e38395e2dc2c80563e9ec (diff) | |
download | nixlib-4741627bcf60e9b16cd767a8d3ded6bcbf3691b2.tar nixlib-4741627bcf60e9b16cd767a8d3ded6bcbf3691b2.tar.gz nixlib-4741627bcf60e9b16cd767a8d3ded6bcbf3691b2.tar.bz2 nixlib-4741627bcf60e9b16cd767a8d3ded6bcbf3691b2.tar.lz nixlib-4741627bcf60e9b16cd767a8d3ded6bcbf3691b2.tar.xz nixlib-4741627bcf60e9b16cd767a8d3ded6bcbf3691b2.tar.zst nixlib-4741627bcf60e9b16cd767a8d3ded6bcbf3691b2.zip |
torbrowser: fix argument handling in wrapper
With $@ unquoted, the wrapper would always just pass "" to firefox
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/security/tor/torbrowser.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/security/tor/torbrowser.nix b/pkgs/tools/security/tor/torbrowser.nix index 849c6f8b85a4..910e6d1603ac 100644 --- a/pkgs/tools/security/tor/torbrowser.nix +++ b/pkgs/tools/security/tor/torbrowser.nix @@ -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 |