From de1571b122a272097b112fa70b70f673639eef30 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:50:14 -0400 Subject: [PATCH] system/pmount: Fixed for bash4. --- system/pmount/pmount.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/system/pmount/pmount.SlackBuild b/system/pmount/pmount.SlackBuild index c3c7a97584..956246c571 100644 --- a/system/pmount/pmount.SlackBuild +++ b/system/pmount/pmount.SlackBuild @@ -81,12 +81,8 @@ chmod 4750 $PKG/usr/bin/pmount $PKG/usr/bin/pumount # Let's not clobber the config file mv $PKG/etc/pmount.allow $PKG/etc/pmount.allow.new -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null -) +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \;