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 /network/openvas-scanner/openvas-scanner.SlackBuild | |
parent | ceccf91a37f89ba59d85822f18335cd4da7649e5 (diff) |
network/openvas-scanner: Fixed for bash4.
Diffstat (limited to 'network/openvas-scanner/openvas-scanner.SlackBuild')
-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 9b194801b39e7..9ada6f5e651a0 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 {} \; |