ALT Linux repositórios
Group :: Monitoramento
RPM: nagios-plugins
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: nagios-plugins-1.4.13-alt-hasher-hack.patch
Download
Download
--- nagios-plugins-1.4.13/plugins-scripts/subst.in.hack 2005-08-31 09:11:42 +1100
+++ nagios-plugins-1.4.13/plugins-scripts/subst.in 2009-01-12 16:23:56 +1000
@@ -62,8 +62,8 @@ BEGIN {
# subst will replace the fully qualified command with whatever is
# returned from the which subroutine
#
-/^[^#]/ && /(\/.*)?\/(bin|sbin|lib|libexec)\// {
- match($0,/(\/.*)?\/(bin|sbin|lib|libexec)\/[-_a-zA-Z0-9]+/);
+/^[^#]/ && /(\/.*)?\/(bin|sbin|libexec)\// {
+ match($0,/(\/.*)?\/(bin|sbin|libexec)\/[-_a-zA-Z0-9]+/);
c=substr($0,RSTART,RLENGTH);
sub(c,which(c,path));
}