git.iko.soy/typeable/nixpkgs
on master help sign in
wrapQtAppsHook: skip directories

Prevents messages like this in the build log: grep: <PATH>/bin: Is a directory

commitd6e65ec4a0cfed817858c91851a4e3e8c4d46632 authorBjørn Forsman <bjorn.forsman@gmail.com> dateTue 10 Sep 2019, 08:20 (7 years ago) parentc6d516d
1 file changed+1−1
pkgs/development/libraries/qt-5/hooks/wrap-qt-apps-hook.sh+1−1
pkgs/development/libraries/qt-5/hooks/wrap-qt-apps-hook.sh+1−1
@@ -80,7 +80,7 @@ wrapQtAppsHook() {
8080 do
8181 [ -d "$targetDir" ] || continue
8282
83− find "$targetDir" -executable -print0 | while IFS= read -r -d '' file
83+ find "$targetDir" -type f -executable -print0 | while IFS= read -r -d '' file
8484 do
8585 patchelf --print-interpreter "$file" >/dev/null 2>&1 || continue
8686