summaryrefslogtreecommitdiff
path: root/net/nagios-plugins/files/patch-subst.in
diff options
context:
space:
mode:
Diffstat (limited to 'net/nagios-plugins/files/patch-subst.in')
-rw-r--r--net/nagios-plugins/files/patch-subst.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/nagios-plugins/files/patch-subst.in b/net/nagios-plugins/files/patch-subst.in
new file mode 100644
index 000000000000..3caf2cb87757
--- /dev/null
+++ b/net/nagios-plugins/files/patch-subst.in
@@ -0,0 +1,11 @@
+--- plugins-scripts/subst.in.orig Fri Sep 1 05:47:35 2000
++++ plugins-scripts/subst.in Sun Jun 23 14:24:00 2002
+@@ -33,7 +33,7 @@
+ # Trusted path mechanism (deprecated)
+
+ /^[ \t]*\$ENV[ \t]*\{[ \t'"]*PATH[ \t"']*\}[ \t]*=/ {
+- sub(/\=[ \t]*['"][^"']+["']/,"='@trusted_path@' # autoconf-derived");
++ sub(/\=[ \t]*['"][^"']+["'];/,"='@trusted_path@'; # autoconf-derived");
+ }
+
+ /^[\t ]*(export[\t ]*)?PATH[\t ]*=['"]+.+["']$/ {