wrapQtAppsHook: skip directories

Prevents messages like this in the build log:

  grep: <PATH>/bin: Is a directory
This commit is contained in:
Bjørn Forsman 2019-09-10 08:20:50 +02:00
parent c6d516dfc4
commit d6e65ec4a0

View file

@ -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