diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2013-12-07 21:13:06 +0100 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2013-12-07 21:13:06 +0100 |
commit | 4e385fcda73dd437152d42aefdde4bcb79d23c78 (patch) | |
tree | b4b76d77ceaffc6fc7d0bd780dbae4c8b5b8d7cc /pkgs/development/libraries/haskell/haskell-src/1.0.1.5.nix | |
parent | c32bf83301bc4063df924ee442d8e35c1b96d912 (diff) | |
download | nixpkgs-4e385fcda73dd437152d42aefdde4bcb79d23c78.tar nixpkgs-4e385fcda73dd437152d42aefdde4bcb79d23c78.tar.gz nixpkgs-4e385fcda73dd437152d42aefdde4bcb79d23c78.tar.bz2 nixpkgs-4e385fcda73dd437152d42aefdde4bcb79d23c78.tar.lz nixpkgs-4e385fcda73dd437152d42aefdde4bcb79d23c78.tar.xz nixpkgs-4e385fcda73dd437152d42aefdde4bcb79d23c78.tar.zst nixpkgs-4e385fcda73dd437152d42aefdde4bcb79d23c78.zip |
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
Diffstat (limited to 'pkgs/development/libraries/haskell/haskell-src/1.0.1.5.nix')
0 files changed, 0 insertions, 0 deletions