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/python-modules/GitPython/hardcode-git-path.patch | |
| parent | c32bf83301bc4063df924ee442d8e35c1b96d912 (diff) | |
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/python-modules/GitPython/hardcode-git-path.patch')
0 files changed, 0 insertions, 0 deletions
