diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:49:55 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:49:55 -0400 |
commit | 76898ff2b20038065de9c6d1b7e22bc3d504ca05 (patch) | |
tree | 31a0ea2ea77a42aecf2573a7353269e2c3602f2c | |
parent | f62c7fab7c48382ba36453cf238903a541385ec9 (diff) | |
download | slackbuilds-76898ff2b20038065de9c6d1b7e22bc3d504ca05.tar.gz |
system/nagios-plugins: Fixed for bash4.
-rw-r--r-- | system/nagios-plugins/nagios-plugins.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/system/nagios-plugins/nagios-plugins.SlackBuild b/system/nagios-plugins/nagios-plugins.SlackBuild index 011801b8eb..1facb4f6f8 100644 --- a/system/nagios-plugins/nagios-plugins.SlackBuild +++ b/system/nagios-plugins/nagios-plugins.SlackBuild @@ -74,12 +74,8 @@ make install DESTDIR=$PKG # otherwise most people will never realise they exist cp -a contrib $PKG/usr/libexec/nagios/. -( 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 chown -R root.nagios $PKG/usr/libexec/nagios chmod u+s $PKG/usr/libexec/nagios/check_{icmp,dhcp}; |