diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:50:14 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:50:14 -0400 |
commit | de1571b122a272097b112fa70b70f673639eef30 (patch) | |
tree | a0b04160ea9b4a280ac6c000433bc4efa9d2cdf3 /system/pmount | |
parent | 3d0bad5b9d926cb3f2658013ed753ac89172814d (diff) |
system/pmount: Fixed for bash4.
Diffstat (limited to 'system/pmount')
-rw-r--r-- | system/pmount/pmount.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/system/pmount/pmount.SlackBuild b/system/pmount/pmount.SlackBuild index c3c7a97584fa..956246c5711f 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 {} \; |