From a3caac9323090ff48eaa21577a4eecd35ca4d157 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:44:36 -0400 Subject: [PATCH] network/ngrep: Fixed for bash4. --- network/ngrep/ngrep.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/network/ngrep/ngrep.SlackBuild b/network/ngrep/ngrep.SlackBuild index 57ea211383..e60d89a892 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 {} \;