diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:43:22 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:43:22 -0400 |
commit | 42ed879012819ffdb4a27492a0ccae6e4b6d07a1 (patch) | |
tree | e0b161195d07aa34d64ee1478af558ba77c6b80f /network/greenbone-security-assistant | |
parent | 779e81243b1166a1ddc994a133b89869d6909fb4 (diff) |
network/greenbone-security-assistant: Fixed for bash4.
Diffstat (limited to 'network/greenbone-security-assistant')
-rw-r--r-- | network/greenbone-security-assistant/greenbone-security-assistant.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/network/greenbone-security-assistant/greenbone-security-assistant.SlackBuild b/network/greenbone-security-assistant/greenbone-security-assistant.SlackBuild index 70bc26b5c4ac2..015fbeb26cedb 100644 --- a/network/greenbone-security-assistant/greenbone-security-assistant.SlackBuild +++ b/network/greenbone-security-assistant/greenbone-security-assistant.SlackBuild @@ -61,12 +61,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 # install rc script install -D -m0755 -oroot -groot $CWD/rc.gsad $PKG/etc/rc.d/rc.gsad.new |