]> sipb.mit.edu Git - ikiwiki.git/commitdiff
use an elsif
authorJoey Hess <joey@kodama.kitenet.net>
Tue, 29 Apr 2008 02:13:12 +0000 (22:13 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Tue, 29 Apr 2008 02:13:12 +0000 (22:13 -0400)
(Not that it really matters..)

pm_filter

index 6c745e1f8c007e5a2a0d38c46c367b27cfa1aeed..98cb5bd9ef930f5bb55d4efd4b27ea015fa987ae 100755 (executable)
--- 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";
 }