summaryrefslogtreecommitdiff
path: root/system/pmount/pmount.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:50:14 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:50:14 -0400
commitde1571b122a272097b112fa70b70f673639eef30 (patch)
treea0b04160ea9b4a280ac6c000433bc4efa9d2cdf3 /system/pmount/pmount.SlackBuild
parent3d0bad5b9d926cb3f2658013ed753ac89172814d (diff)
downloadslackbuilds-de1571b122a272097b112fa70b70f673639eef30.tar.gz
system/pmount: Fixed for bash4.
Diffstat (limited to 'system/pmount/pmount.SlackBuild')
-rw-r--r--system/pmount/pmount.SlackBuild8
1 files 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 {} \;