diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-04-28 15:37:17 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-04-28 15:37:17 -0400 |
commit | dbb5d111968be2f0c4f7fb012787c67b9bac57f7 (patch) | |
tree | bd8aeac759b23c819ffac7cb26f47e2c67a05c1f /pm_filter | |
parent | 4723d5f9f17890535b0fc1f14900bfa9927e0c59 (diff) |
Deal with different paths to perl when removing -T flag.
Diffstat (limited to 'pm_filter')
-rwxr-xr-x | pm_filter | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -20,7 +20,7 @@ elsif (/^use lib/) { $_="use lib '$libdir';\n"; } } -elsif ($. == 1 && ($ENV{NOTAINT} || ! exists $ENV{NOTAINT}) && m{^(#!/usr/bin/perl) -T$}) { +elsif ($. == 1 && ($ENV{NOTAINT} || ! exists $ENV{NOTAINT}) && m{^(#!.*perl.*?) -T$}) { $_=qq{$1\n}; } if (/^\$ENV{PATH}="(.*)";/) { |