From 4a23a5630a7445e59e106f24829f86570679e0b7 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:43:33 -0400 Subject: network/hping3: Fixed for bash4. --- network/hping3/hping3.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'network/hping3/hping3.SlackBuild') diff --git a/network/hping3/hping3.SlackBuild b/network/hping3/hping3.SlackBuild index 1a076824df..06b3c93ac6 100644 --- a/network/hping3/hping3.SlackBuild +++ b/network/hping3/hping3.SlackBuild @@ -93,12 +93,8 @@ install -d $PKG/usr/man/man8/ install -m 0644 docs/hping2.8 $PKG/usr/man/man8/ install -m 0644 docs/hping3.8 $PKG/usr/man/man8/ -( 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 ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; -- cgit v1.2.3