summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/hping3/hping3.SlackBuild8
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 {} \;