aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:44:26 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:44:26 -0400
commita9287ab6ed0695b819c533f43bbf768599eb0c5e (patch)
treeed29e67e1d66657db2a2e809a8a5dba52410d91e
parent4db0bc7e27cd429fbfe488aca60a6b057499352d (diff)
network/mpop: Fixed for bash4.
-rw-r--r--network/mpop/mpop.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/mpop/mpop.SlackBuild b/network/mpop/mpop.SlackBuild
index 629231d00579..0d88264391b5 100644
--- a/network/mpop/mpop.SlackBuild
+++ b/network/mpop/mpop.SlackBuild
@@ -58,12 +58,8 @@ CXXFLAGS="$SLKCFLAGS" \
make || exit 1
make install-strip DESTDIR=$PKG || exit 1
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
- 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 {} \;