summaryrefslogtreecommitdiffstats
path: root/network/mpop
diff options
context:
space:
mode:
author David Somero2010-05-19 08:44:26 +0200
committer David Somero2010-05-19 08:44:26 +0200
commita9287ab6ed0695b819c533f43bbf768599eb0c5e (patch)
treeed29e67e1d66657db2a2e809a8a5dba52410d91e /network/mpop
parent4db0bc7e27cd429fbfe488aca60a6b057499352d (diff)
downloadslackbuilds-a9287ab6ed0695b819c533f43bbf768599eb0c5e.tar.gz
network/mpop: Fixed for bash4.
Diffstat (limited to 'network/mpop')
-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 629231d005..0d88264391 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 {} \;