mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
stdenv: add link to clarify
This commit is contained in:
parent
4fc50527f8
commit
f3d9711f05
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ isExecutable() {
|
|||
isExeResult="$(LANG=C $READELF -h -l "$1" 2> /dev/null \
|
||||
| grep '^ *Type: *EXEC\>\|^ *INTERP\>')"
|
||||
# not using grep -q, because it can cause Broken pipe
|
||||
# https://unix.stackexchange.com/questions/305547/broken-pipe-when-grepping-output-but-only-with-i-flag
|
||||
[ -n "$isExeResult" ]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue