diff options
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 {} \; |