From ceccf91a37f89ba59d85822f18335cd4da7649e5 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:45:05 -0400 Subject: network/openvas-manager: Fixed for bash4. --- network/openvas-manager/openvas-manager.SlackBuild | 8 ++------ 1 file 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 -- cgit v1.2.3