diff options
| author | aszlig <aszlig@nix.build> | 2018-07-09 20:43:34 +0200 |
|---|---|---|
| committer | aszlig <aszlig@nix.build> | 2018-07-09 20:43:34 +0200 |
| commit | 739c835515036fcc21cd5f32fc0e37991df5dc18 (patch) | |
| tree | 6340ad086242db5d4315890cbbe58da39b4f4a60 /pkgs/development/python-modules/GitPython/hardcode-git-path.patch | |
| parent | 98b525895546794aa79dce9dcb155b6a35b20622 (diff) | |
stdenv-setup: Remove superfluous check for /bin/sh
The line was essentially checking whether /bin/sh exists and is
executable and if that's the case, the isScript function returns
successfully.
When asking the author of this line on IRC it seems that even they can't
remember or imagine what this was supposed to be.
In summary: Whenever /bin/sh doesn't exist during a build, *any* file
given to isScript is reported as being a script even if it isn't.
This is kinda counter-intuitive and not something what somebody would
expect from a function called "isScript".
Signed-off-by: aszlig <aszlig@nix.build>
Cc: @edolstra
Diffstat (limited to 'pkgs/development/python-modules/GitPython/hardcode-git-path.patch')
0 files changed, 0 insertions, 0 deletions
