mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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