summary refs log tree commit diff
path: root/pkgs/games/ultrastardx/default.nix
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2013-12-07 21:13:06 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2013-12-07 21:13:06 +0100
commit4e385fcda73dd437152d42aefdde4bcb79d23c78 (patch)
treeb4b76d77ceaffc6fc7d0bd780dbae4c8b5b8d7cc /pkgs/games/ultrastardx/default.nix
parentc32bf83301bc4063df924ee442d8e35c1b96d912 (diff)
downloadnixpkgs-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/games/ultrastardx/default.nix')
0 files changed, 0 insertions, 0 deletions