aboutsummaryrefslogtreecommitdiff
path: root/network/polipo
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:45:26 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:45:26 -0400
commitc0d6b343b86ad98ba14ea7fe090431f59950e792 (patch)
treeeebafc38ecc14889e670c4bfc0b62b6c41c0e5cc /network/polipo
parent82ba19c066965a71155e44dd57cd8b3b5e3a3e39 (diff)
network/polipo: Fixed for bash4.
Diffstat (limited to 'network/polipo')
-rw-r--r--network/polipo/polipo.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/polipo/polipo.SlackBuild b/network/polipo/polipo.SlackBuild
index f82e344d61842..9bb5b8ba3617e 100644
--- a/network/polipo/polipo.SlackBuild
+++ b/network/polipo/polipo.SlackBuild
@@ -69,12 +69,8 @@ find . \
make CDEBUGFLAGS="$SLKCFLAGS"
make install DESTDIR=$PKG
-( 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 {} \;