summaryrefslogtreecommitdiff
path: root/network/arptables
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:42:05 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:42:05 -0400
commit78c361f955e3f4768fabc2c5802a238cb448fcc4 (patch)
treeb90b2a701b543d54f8a78319e5a0e5928cc6c821 /network/arptables
parent53769c57446a9217900ce8876e80f030b0a82fa6 (diff)
downloadslackbuilds-78c361f955e3f4768fabc2c5802a238cb448fcc4.tar.gz
network/arptables: Fixed for bash4.
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 082e176e58..8c78c167fc 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?/*