From: joey Date: Tue, 2 May 2006 02:47:54 +0000 (+0000) Subject: fix X-Git-Tag: 1.1~103 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=62f734d5e1a2c8d23d75f0df09a8bff9d1e8da97;p=ikiwiki.git fix --- 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: $@"); } } } #}}}