From: Joey Hess Date: Tue, 29 Apr 2008 02:13:12 +0000 (-0400) Subject: use an elsif X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/8fdb37d7bc1a36a1a558f5c0e34df38f1d4e5507?hp=cf2652c13991ce517e4d00a7ceaa4c5f96394721 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"; }