nixpkgs/pkgs/stdenv
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
..
generic stdenv/patchShebangs: fix shebang check 2013-12-07 21:13:06 +01:00
linux
mingw
native
nix
adapters.nix
common-path.nix
default.nix