diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:43:33 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:43:33 -0400 |
commit | 4a23a5630a7445e59e106f24829f86570679e0b7 (patch) | |
tree | 48b9f12fc1775a22c8ff00393cbdfb1abed74928 /network/hping3 | |
parent | 3e6be245afb954e3ad7f8084a6a81df1c94652d5 (diff) | |
download | slackbuilds-4a23a5630a7445e59e106f24829f86570679e0b7.tar.gz |
network/hping3: Fixed for bash4.
Diffstat (limited to 'network/hping3')
-rw-r--r-- | network/hping3/hping3.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
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 {} \; |