forked from mirrors/nixpkgs
wrapQtAppsHook: correct skip directories heuristic
This commit is contained in:
parent
b3dec4fa26
commit
15e99a06a8
|
@ -80,7 +80,7 @@ wrapQtAppsHook() {
|
||||||
do
|
do
|
||||||
[ -d "$targetDir" ] || continue
|
[ -d "$targetDir" ] || continue
|
||||||
|
|
||||||
find "$targetDir" -type f -executable -print0 | while IFS= read -r -d '' file
|
find "$targetDir" ! -type d -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…
Reference in a new issue