From 42ed879012819ffdb4a27492a0ccae6e4b6d07a1 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:43:22 -0400 Subject: network/greenbone-security-assistant: Fixed for bash4. --- .../greenbone-security-assistant.SlackBuild | 8 ++------ 1 file 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 -- cgit v1.2.3