diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:44:32 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:44:32 -0400 |
commit | f3febaf778538e5af9e44793877b346df13b681c (patch) | |
tree | 05e088d0eca09e0ba2f79662aad6197d7aa2f31d /network/nagios/nagios.SlackBuild | |
parent | 7b4464ee509c1c001656a328a313dc6b5e6a5c03 (diff) | |
download | slackbuilds-f3febaf778538e5af9e44793877b346df13b681c.tar.gz |
network/nagios: Fixed for bash4.
Diffstat (limited to 'network/nagios/nagios.SlackBuild')
-rw-r--r-- | network/nagios/nagios.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/network/nagios/nagios.SlackBuild b/network/nagios/nagios.SlackBuild index ebc74a69f1..f8e55326be 100644 --- a/network/nagios/nagios.SlackBuild +++ b/network/nagios/nagios.SlackBuild @@ -82,12 +82,8 @@ make install-config mkdir -p $PKG/etc/httpd/extra make install-webconf -( 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 # Change configuration files to .new find $PKG/etc/$PRGNAM/ -name *.cfg | while read cfg ; do mv $cfg $cfg.new ; done |