diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:42:05 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:42:05 -0400 |
commit | 78c361f955e3f4768fabc2c5802a238cb448fcc4 (patch) | |
tree | b90b2a701b543d54f8a78319e5a0e5928cc6c821 /network/arptables | |
parent | 53769c57446a9217900ce8876e80f030b0a82fa6 (diff) |
network/arptables: Fixed for bash4.
Diffstat (limited to 'network/arptables')
-rw-r--r-- | network/arptables/arptables.SlackBuild | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/network/arptables/arptables.SlackBuild b/network/arptables/arptables.SlackBuild index 082e176e582d7..8c78c167fcfda 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?/* |