about summary refs log tree commit diff
path: root/pkgs/development/tools/misc/patchelf/setup-hook.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/misc/patchelf/setup-hook.sh')
-rw-r--r--pkgs/development/tools/misc/patchelf/setup-hook.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/misc/patchelf/setup-hook.sh b/pkgs/development/tools/misc/patchelf/setup-hook.sh
index 944b418d1b47..a76fbfbd509c 100644
--- a/pkgs/development/tools/misc/patchelf/setup-hook.sh
+++ b/pkgs/development/tools/misc/patchelf/setup-hook.sh
@@ -9,7 +9,7 @@ patchELF() {
     if [ -e "$prefix" ]; then
         find "$prefix" \( \
             \( -type f -a -name "*.so*" \) -o \
-            \( -type f -a -perm /0100 \) \
+            \( -type f -a -perm -0100 \) \
             \) -print -exec patchelf --shrink-rpath '{}' \;
     fi
     stopNest