diff options
author | worldofpeace <worldofpeace@protonmail.ch> | 2019-07-17 15:53:15 -0400 |
---|---|---|
committer | worldofpeace <worldofpeace@protonmail.ch> | 2019-07-17 15:53:15 -0400 |
commit | 7d6ab0ad7a5a5b1765a6d70b5df861d14e3c3482 (patch) | |
tree | 37b506c2440014588676ff022c344ee15bb4ade4 /pkgs/development/libraries/qt-5/hooks/wrap-qt-apps-hook.sh | |
parent | 53c981f67e33ae4bbb2e13a6ba5de175ccd1963b (diff) |
wrapQtAppsHook: use isELF
We should still prevent things like scripts from being wrapped.
Diffstat (limited to 'pkgs/development/libraries/qt-5/hooks/wrap-qt-apps-hook.sh')
-rw-r--r-- | pkgs/development/libraries/qt-5/hooks/wrap-qt-apps-hook.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/libraries/qt-5/hooks/wrap-qt-apps-hook.sh b/pkgs/development/libraries/qt-5/hooks/wrap-qt-apps-hook.sh index 775922c1f4c4a..e7d7d1326174a 100644 --- a/pkgs/development/libraries/qt-5/hooks/wrap-qt-apps-hook.sh +++ b/pkgs/development/libraries/qt-5/hooks/wrap-qt-apps-hook.sh @@ -82,6 +82,8 @@ wrapQtAppsHook() { find "$targetDir" -executable -print0 | while IFS= read -r -d '' file do + isELF "$file" || continue + if [ -f "$file" ] then echo "wrapping $file" |