diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:43:01 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:43:01 -0400 |
commit | 59bde6f2f7f93aa0e7d15e3bc69afcb2ff96a93c (patch) | |
tree | 429d4ee2bb4ad0add56cd210055d329f803bb424 /network | |
parent | 853b312649e1f9462ebf352fc1296c0fb078cc58 (diff) | |
download | slackbuilds-59bde6f2f7f93aa0e7d15e3bc69afcb2ff96a93c.tar.gz |
network/ettercap-NG: Fixed for bash4.
Diffstat (limited to 'network')
-rw-r--r-- | network/ettercap-NG/ettercap-NG.SlackBuild | 6 |
1 files changed, 2 insertions, 4 deletions
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 {} \; |