From 59bde6f2f7f93aa0e7d15e3bc69afcb2ff96a93c Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:43:01 -0400 Subject: network/ettercap-NG: Fixed for bash4. --- network/ettercap-NG/ettercap-NG.SlackBuild | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'network/ettercap-NG') diff --git a/network/ettercap-NG/ettercap-NG.SlackBuild b/network/ettercap-NG/ettercap-NG.SlackBuild index 0e39fce320..ba10f36881 100644 --- a/network/ettercap-NG/ettercap-NG.SlackBuild +++ b/network/ettercap-NG/ettercap-NG.SlackBuild @@ -73,10 +73,8 @@ cat $CWD/ettercap.desktop > $PKG/usr/share/applications/ettercap.desktop mv $PKG/etc/etter.conf $PKG/etc/etter.conf.new -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - 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 {} \; -- cgit v1.2.3