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
|
do
|
||||||
[ -d "$targetDir" ] || continue
|
[ -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
|
do
|
||||||
patchelf --print-interpreter "$file" >/dev/null 2>&1 || continue
|
patchelf --print-interpreter "$file" >/dev/null 2>&1 || continue
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user