aboutsummaryrefslogtreecommitdiff
path: root/network/arptables
diff options
context:
space:
mode:
Diffstat (limited to 'network/arptables')
-rw-r--r--network/arptables/arptables.SlackBuild10
1 files changed, 2 insertions, 8 deletions
diff --git a/network/arptables/arptables.SlackBuild b/network/arptables/arptables.SlackBuild
index 082e176e582d..8c78c167fcfd 100644
--- a/network/arptables/arptables.SlackBuild
+++ b/network/arptables/arptables.SlackBuild
@@ -66,14 +66,8 @@ make install \
mv -v $PRGNAM $PRGNAM.new
)
-( cd $PKG
- find . -type f \
- | xargs file \
- | grep -e "executable" \
- -e 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
if [ -d $PKG/usr/man ]; then
gzip -9 $PKG/usr/man/man?/*