aboutsummaryrefslogtreecommitdiff
path: root/network/ngrep/ngrep.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:44:36 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:44:36 -0400
commita3caac9323090ff48eaa21577a4eecd35ca4d157 (patch)
tree200be7b163971746a6c8db8ad941c4c7a280ac53 /network/ngrep/ngrep.SlackBuild
parent9cd5259de6e3df65e2240295809ec937e8812892 (diff)
network/ngrep: Fixed for bash4.
Diffstat (limited to 'network/ngrep/ngrep.SlackBuild')
-rw-r--r--network/ngrep/ngrep.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/ngrep/ngrep.SlackBuild b/network/ngrep/ngrep.SlackBuild
index 57ea211383b0..e60d89a892b0 100644
--- a/network/ngrep/ngrep.SlackBuild
+++ b/network/ngrep/ngrep.SlackBuild
@@ -67,12 +67,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG mandir=/usr/man
-( 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
find $PKG/usr/man -type f -exec gzip -9 {} \;