Author: eelco
Date: Fri Nov 25 17:01:54 2011
New Revision: 30566
URL: https://nixos.org/websvn/nix/?rev=30566&sc=1
Log:
* Do an "exec" to get rid of an unnecessary shell.
Modified:
nixpkgs/trunk/pkgs/applications/networking/browsers/firefox/8.0.nix
nixpkgs/trunk/pkgs/applications/networking/browsers/firefox/9.0.nix
Modified: nixpkgs/trunk/pkgs/applications/networking/browsers/firefox/8.0.nix
==============================================================================
--- nixpkgs/trunk/pkgs/applications/networking/browsers/firefox/8.0.nix Fri Nov
25 16:32:54 2011 (r30565)
+++ nixpkgs/trunk/pkgs/applications/networking/browsers/firefox/8.0.nix Fri Nov
25 17:01:54 2011 (r30566)
@@ -161,7 +161,7 @@
file $i;
if file $i | grep executable &>/dev/null; then
rm "$out/bin/$(basename "$i")"
- echo -e '#! /bin/sh\n"'"$i"'" "$@"' > "$out/bin/$(basename
"$i")"
+ echo -e '#! /bin/sh\nexec "'"$i"'" "$@"' >
"$out/bin/$(basename "$i")"
chmod a+x "$out/bin/$(basename "$i")"
fi;
done;
Modified: nixpkgs/trunk/pkgs/applications/networking/browsers/firefox/9.0.nix
==============================================================================
--- nixpkgs/trunk/pkgs/applications/networking/browsers/firefox/9.0.nix Fri Nov
25 16:32:54 2011 (r30565)
+++ nixpkgs/trunk/pkgs/applications/networking/browsers/firefox/9.0.nix Fri Nov
25 17:01:54 2011 (r30566)
@@ -161,7 +161,7 @@
file $i;
if file $i | grep executable &>/dev/null; then
rm "$out/bin/$(basename "$i")"
- echo -e '#! /bin/sh\n"'"$i"'" "$@"' > "$out/bin/$(basename
"$i")"
+ echo -e '#! /bin/sh\nexec "'"$i"'" "$@"' >
"$out/bin/$(basename "$i")"
chmod a+x "$out/bin/$(basename "$i")"
fi;
done;
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits