summaryrefslogtreecommitdiffstats
path: root/network/greenbone-security-assistant
diff options
context:
space:
mode:
author David Somero2010-05-19 08:43:22 +0200
committer David Somero2010-05-19 08:43:22 +0200
commit42ed879012819ffdb4a27492a0ccae6e4b6d07a1 (patch)
treee0b161195d07aa34d64ee1478af558ba77c6b80f /network/greenbone-security-assistant
parent779e81243b1166a1ddc994a133b89869d6909fb4 (diff)
downloadslackbuilds-42ed879012819ffdb4a27492a0ccae6e4b6d07a1.tar.gz
network/greenbone-security-assistant: Fixed for bash4.
Diffstat (limited to 'network/greenbone-security-assistant')
-rw-r--r--network/greenbone-security-assistant/greenbone-security-assistant.SlackBuild8
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 70bc26b5c4..015fbeb26c 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