forked from mirrors/nixpkgs
wrapQtAppsHook: skip directories
Prevents messages like this in the build log: grep: <PATH>/bin: Is a directory
This commit is contained in:
parent
c6d516dfc4
commit
d6e65ec4a0
|
@ -80,7 +80,7 @@ wrapQtAppsHook() {
|
|||
do
|
||||
[ -d "$targetDir" ] || continue
|
||||
|
||||
find "$targetDir" -executable -print0 | while IFS= read -r -d '' file
|
||||
find "$targetDir" -type f -executable -print0 | while IFS= read -r -d '' file
|
||||
do
|
||||
patchelf --print-interpreter "$file" >/dev/null 2>&1 || continue
|
||||
|
||||
|
|
Loading…
Reference in a new issue