From: Joey Hess Date: Tue, 29 Apr 2008 02:13:12 +0000 (-0400) Subject: use an elsif X-Git-Tag: 2.45~23 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8fdb37d7bc1a36a1a558f5c0e34df38f1d4e5507;p=ikiwiki.git use an elsif (Not that it really matters..) --- 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"; }