nixpkgs/pkgs/stdenv/generic
Bjørn Forsman 4e385fcda7 stdenv/patchShebangs: fix shebang check
patchShebangs has a bug that shows itself on files that have the
executable bit set but have no shebang (i.e. a blank/empty first line).
The shell would then evaluate this:

if [ != '#!' ]; then
  # not evaluated
fi

With proper quoting we get the correct behaviour:

if [ "" != '#!' ]; then
  # this will be evaluated
fi
2013-12-07 21:13:06 +01:00
..
builder.sh Revert "Merge pull request #229 from viric/niximpure2-stdenv-updates" 2012-12-28 15:46:45 +01:00
default-builder.sh * "." -> "source". 2005-12-05 14:11:09 +00:00
default.nix Merge remote-tracking branch 'origin/master' into stdenv-updates. 2013-12-04 18:33:52 +01:00
setup-repeatable.sh Kindly ask strip to not mess up timestamps in static libraries 2013-06-25 11:15:45 +03:00
setup.sh stdenv/patchShebangs: fix shebang check 2013-12-07 21:13:06 +01:00