TBE: fix unneeded /bin/sh reference

This commit is contained in:
Michael Raskin 2012-11-10 15:14:28 +04:00
parent 66164a941b
commit 4c5c8ba08e

View File

@ -41,7 +41,7 @@ rec {
mkdir -p "$out/share/tbe"
cp -r . "$out/share/tbe/build-dir"
mkdir -p "$out/bin"
echo '#! /bin/sh' >> "$out/bin/tbe"
echo '#!${a.stdenv.shell}' >> "$out/bin/tbe"
echo "$out/share/tbe/build-dir/tbe \"\$@\"" >> "$out/bin/tbe"
chmod a+x "$out/bin/tbe"
'' ["minInit" "doMake" "defEnsureDir"];