diff options
Diffstat (limited to 'plugins-scripts/subst.in')
-rw-r--r-- | plugins-scripts/subst.in | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/plugins-scripts/subst.in b/plugins-scripts/subst.in index a70ad88..49a95ca 100644 --- a/plugins-scripts/subst.in +++ b/plugins-scripts/subst.in | |||
@@ -61,18 +61,9 @@ BEGIN { | |||
61 | # add to libexecdir to INC for perl utils.pm | 61 | # add to libexecdir to INC for perl utils.pm |
62 | /^use/ { if (/lib/) { if (/utils.pm|"."/ ) {sub(/utils.pm|"."/,led() )} } } | 62 | /^use/ { if (/lib/) { if (/utils.pm|"."/ ) {sub(/utils.pm|"."/,led() )} } } |
63 | 63 | ||
64 | 64 | # Trusted path mechanism | |
65 | # Trusted path mechanism (deprecated) | 65 | /@trusted_path@/ {sub(/@trusted_path@/,"@with_trusted_path@");} |
66 | |||
67 | /^[ \t]*\$ENV[ \t]*\{[ \t'"]*PATH[ \t"']*\}[ \t]*=/ { | ||
68 | sub(/\=[ \t]*['"][^"']+["']/,"='@with_trusted_path@' # autoconf-derived"); | ||
69 | } | ||
70 | |||
71 | /^[\t ]*(export[\t ]*)?PATH[\t ]*=['"]+.+["']$/ { | ||
72 | sub(/\=.*$/,"='@with_trusted_path@' # autoconf-derived"); | ||
73 | } | ||
74 | 66 | ||
75 | { | 67 | { |
76 | print; | 68 | print; |
77 | } | 69 | } |
78 | |||