summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/subst.in
diff options
context:
space:
mode:
Diffstat (limited to 'plugins-scripts/subst.in')
-rw-r--r--plugins-scripts/subst.in12
1 files changed, 2 insertions, 10 deletions
diff --git a/plugins-scripts/subst.in b/plugins-scripts/subst.in
index 66777d7..c730b77 100644
--- a/plugins-scripts/subst.in
+++ b/plugins-scripts/subst.in
@@ -45,17 +45,9 @@ BEGIN {
45 sub(c,which(c,path)); 45 sub(c,which(c,path));
46} 46}
47 47
48# Trusted path mechanism (deprecated) 48# Trusted path mechanism
49 49/@trusted_path@/ {sub(/@trusted_path@/,"@with_trusted_path@");}
50/^[ \t]*\$ENV[ \t]*\{[ \t'"]*PATH[ \t"']*\}[ \t]*=/ {
51 sub(/\=[ \t]*['"][^"']+["']/,"='@with_trusted_path@' # autoconf-derived");
52}
53
54/^[\t ]*(export[\t ]*)?PATH[\t ]*=['"]+.+["']$/ {
55 sub(/\=.*$/,"='@with_trusted_path@' # autoconf-derived");
56}
57 50
58{ 51{
59 print; 52 print;
60} 53}
61