diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:45:07 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:45:07 -0400 |
commit | 12da7206330f548c2344d77cd0f38d4476f34244 (patch) | |
tree | 56b0f29e00e2ccb2c565ea22b94c99518897fd92 | |
parent | ceccf91a37f89ba59d85822f18335cd4da7649e5 (diff) | |
download | slackbuilds-12da7206330f548c2344d77cd0f38d4476f34244.tar.gz |
network/openvas-scanner: Fixed for bash4.
-rw-r--r-- | network/openvas-scanner/openvas-scanner.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/network/openvas-scanner/openvas-scanner.SlackBuild b/network/openvas-scanner/openvas-scanner.SlackBuild index 9b194801b3..9ada6f5e65 100644 --- a/network/openvas-scanner/openvas-scanner.SlackBuild +++ b/network/openvas-scanner/openvas-scanner.SlackBuild @@ -74,12 +74,8 @@ CXXFLAGS="$SLKCFLAGS" \ 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 ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; |