summaryrefslogtreecommitdiff
path: root/pm_filter
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-04-28 22:13:12 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-04-28 22:13:12 -0400
commit8fdb37d7bc1a36a1a558f5c0e34df38f1d4e5507 (patch)
tree5ff3dcc79c9d050788083a4c23f619b84343a58c /pm_filter
parentcf2652c13991ce517e4d00a7ceaa4c5f96394721 (diff)
use an elsif
(Not that it really matters..)
Diffstat (limited to 'pm_filter')
-rwxr-xr-xpm_filter2
1 files changed, 1 insertions, 1 deletions
diff --git a/pm_filter b/pm_filter
index 6c745e1f8..98cb5bd9e 100755
--- a/pm_filter
+++ b/pm_filter
@@ -23,6 +23,6 @@ elsif (/^use lib/) {
elsif ($. == 1 && ($ENV{NOTAINT} || ! exists $ENV{NOTAINT}) && m{^(#!.*perl.*?) -T$}) {
$_=qq{$1\n};
}
-if (/^\$ENV{PATH}="(.*)";/) {
+elsif (/^\$ENV{PATH}="(.*)";/) {
$_="\$ENV{PATH}=\"$1:$prefix/bin\";\n";
}