mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
4e385fcda7
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 |
||
---|---|---|
.. | ||
builder.sh | ||
default-builder.sh | ||
default.nix | ||
setup-repeatable.sh | ||
setup.sh |