diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:44:36 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:44:36 -0400 |
commit | a3caac9323090ff48eaa21577a4eecd35ca4d157 (patch) | |
tree | 200be7b163971746a6c8db8ad941c4c7a280ac53 /network/ngrep/ngrep.SlackBuild | |
parent | 9cd5259de6e3df65e2240295809ec937e8812892 (diff) |
network/ngrep: Fixed for bash4.
Diffstat (limited to 'network/ngrep/ngrep.SlackBuild')
-rw-r--r-- | network/ngrep/ngrep.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/network/ngrep/ngrep.SlackBuild b/network/ngrep/ngrep.SlackBuild index 57ea211383b00..e60d89a892b0a 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 {} \; |