mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +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 |
||
---|---|---|
.. | ||
generic | ||
linux | ||
mingw | ||
native | ||
nix | ||
adapters.nix | ||
common-path.nix | ||
default.nix |