summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:45:05 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:45:05 -0400
commitceccf91a37f89ba59d85822f18335cd4da7649e5 (patch)
treeebe203f493b6462530892aea58d840783c0a9e03 /network
parentd0391979b7a6426305e04520d5a738a9bdc73422 (diff)
downloadslackbuilds-ceccf91a37f89ba59d85822f18335cd4da7649e5.tar.gz
network/openvas-manager: Fixed for bash4.
Diffstat (limited to 'network')
-rw-r--r--network/openvas-manager/openvas-manager.SlackBuild8
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