wrapQtAppsHook: use isELF
We should still prevent things like scripts from being wrapped.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user