summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-05-02 02:47:54 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-05-02 02:47:54 +0000
commit62f734d5e1a2c8d23d75f0df09a8bff9d1e8da97 (patch)
tree299d5b7c403cf124cde9e007a0da0b2d940192bf
parent4f1dc4b47c74ae97e0c26061501751202bf46e1f (diff)
fix
-rwxr-xr-xikiwiki6
1 files changed, 3 insertions, 3 deletions
diff --git a/ikiwiki b/ikiwiki
index 6c42a7e5d..8367e9118 100755
--- a/ikiwiki
+++ b/ikiwiki
@@ -135,10 +135,10 @@ sub checkconfig () { #{{{
}
foreach my $plugin (@{$config{plugin}}) {
- $plugin="IkiWiki::Plugin::".possibly_foolish_untaint($plugin);
- eval qq{use $plugin};
+ my $mod="IkiWiki::Plugin::".possibly_foolish_untaint($plugin);
+ eval qq{use $mod};
if ($@) {
- error("Failed to load plugin $plugin: $@");
+ error("Failed to load plugin $mod: $@");
}
}
} #}}}