diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-29 22:03:24 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-29 22:03:24 (GMT) |
commit | 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 (patch) | |
tree | 1c2b6b21704a294940f87c7892676998d8371707 /web/attachments/144263-patch-plugins-scripts_subst_in | |
download | site-0b6423f9c99d9edf8c96fefd0f6c453859395aa1.tar.gz |
Import Nagios Plugins site
Import the Nagios Plugins web site, Cronjobs, infrastructure scripts,
and configuration files.
Diffstat (limited to 'web/attachments/144263-patch-plugins-scripts_subst_in')
-rw-r--r-- | web/attachments/144263-patch-plugins-scripts_subst_in | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/web/attachments/144263-patch-plugins-scripts_subst_in b/web/attachments/144263-patch-plugins-scripts_subst_in new file mode 100644 index 0000000..20f6300 --- /dev/null +++ b/web/attachments/144263-patch-plugins-scripts_subst_in | |||
@@ -0,0 +1,24 @@ | |||
1 | $OpenBSD: patch-plugins-scripts_subst_in,v 1.1.1.1 2005/07/25 16:32:07 sturm Exp $ | ||
2 | --- plugins-scripts/subst.in.orig Mon Jul 18 22:56:08 2005 | ||
3 | +++ plugins-scripts/subst.in Mon Jul 18 22:56:30 2005 | ||
4 | @@ -44,10 +44,6 @@ BEGIN { | ||
5 | /^#! ?\/.*\/[a-z]{0,2}awk/ {sub(/^#! ?\/.*\/[a-z]{0,2}awk/,"#! @AWK@");} | ||
6 | /^#! ?\/.*\/sh/ {sub(/^#! ?\/.*\/sh/,"#! @SHELL@");} | ||
7 | |||
8 | -# add to libexecdir to INC for perl utils.pm | ||
9 | -/^use/ { if (/lib/) { if (/utils.pm|"."/ ) {sub(/utils.pm|"."/,led() )} } } | ||
10 | - | ||
11 | - | ||
12 | # Trusted path mechanism (deprecated) | ||
13 | |||
14 | /^[ \t]*\$ENV[ \t]*\{[ \t'"]*PATH[ \t"']*\}[ \t]*=/ { | ||
15 | @@ -67,6 +63,9 @@ BEGIN { | ||
16 | c=substr($0,RSTART,RLENGTH); | ||
17 | sub(c,which(c,path)); | ||
18 | } | ||
19 | + | ||
20 | +# add to libexecdir to INC for perl utils.pm | ||
21 | +/^use/ { if (/lib/) { if (/utils.pm|"."/ ) {sub(/utils.pm|"."/,led() )} } } | ||
22 | |||
23 | { | ||
24 | print; | ||