From 76682ff3c5602385ab94410c74843c1ad36abbcd Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sat, 30 May 2015 22:06:30 +0700 Subject: [PATCH] python-pam: Script cleanup. Signed-off-by: Willy Sudiarto Raharjo --- python-pam/python-pam.SlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-pam/python-pam.SlackBuild b/python-pam/python-pam.SlackBuild index 6d851f1..381cf37 100644 --- a/python-pam/python-pam.SlackBuild +++ b/python-pam/python-pam.SlackBuild @@ -72,11 +72,11 @@ find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; python setup.py install --root=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true (