FSG: Fix unneeded /bin/sh reference

This commit is contained in:
Michael Raskin 2012-11-10 15:09:42 +04:00
parent 426b75c0a4
commit 66164a941b

View file

@ -39,7 +39,7 @@ stdenv.mkDerivation {
installPhase = ''
mkdir -p $out/bin $out/libexec
cp sand $out/libexec
echo -e '#! /bin/sh\nLC_ALL=C '$out'/libexec/sand "$@"' >$out/bin/fsg
echo -e '#!${stdenv.shell}\nLC_ALL=C '$out'/libexec/sand "$@"' >$out/bin/fsg
chmod a+x $out/bin/fsg
'';