summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:42:59 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:42:59 -0400
commit853b312649e1f9462ebf352fc1296c0fb078cc58 (patch)
treedf6e0332d17e962e04a7f3936b1f60a842e46d0a
parent90412825ce1964cb9f786d13d4eb02d60ff3b166 (diff)
downloadslackbuilds-853b312649e1f9462ebf352fc1296c0fb078cc58.tar.gz
network/etherape: Fixed for bash4.
-rw-r--r--network/etherape/etherape.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/etherape/etherape.SlackBuild b/network/etherape/etherape.SlackBuild
index 2032ec83e5..7724fe1230 100644
--- a/network/etherape/etherape.SlackBuild
+++ b/network/etherape/etherape.SlackBuild
@@ -70,12 +70,8 @@ LDFLAGS="$SLKLDFLAGS" \
make
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 || true
-)
+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 {} \;