diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:45:05 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:45:05 -0400 |
commit | ceccf91a37f89ba59d85822f18335cd4da7649e5 (patch) | |
tree | ebe203f493b6462530892aea58d840783c0a9e03 | |
parent | d0391979b7a6426305e04520d5a738a9bdc73422 (diff) | |
download | slackbuilds-ceccf91a37f89ba59d85822f18335cd4da7649e5.tar.gz |
network/openvas-manager: Fixed for bash4.
-rw-r--r-- | network/openvas-manager/openvas-manager.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/network/openvas-manager/openvas-manager.SlackBuild b/network/openvas-manager/openvas-manager.SlackBuild index 4c3b588428..98d6d6d79f 100644 --- a/network/openvas-manager/openvas-manager.SlackBuild +++ b/network/openvas-manager/openvas-manager.SlackBuild @@ -65,12 +65,8 @@ cmake \ make make install DESTDIR=$PKG -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null || true -) +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true # config file mv $PKG/etc/openvas/openvasmd_log.conf $PKG/etc/openvas/openvasmd_log.conf.new |