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 Merge master into stdenv-updates 2013-07-08 10:48:05 +02:00
mingw stdenv/setup.sh: Always run postPatch hook. 2013-02-27 15:26:18 +01:00
native Add SmartOS native GCC path. 2013-02-28 20:04:04 +01:00
nix GCC 4.7.2 + updated libraries compiles on Illumos/SmartOS! 2013-02-28 20:04:02 +01:00
adapters.nix More renames 2012-12-28 19:42:10 +01:00
common-path.nix * Don't use the "replace-literal" command in stdenv; instead use 2012-01-19 13:47:26 +00:00
default.nix Attempt at getting GCC 4.7 compiled on Illumos... 2013-02-28 20:04:01 +01:00