X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/54d5308cd83c67e7e9c32450c776ef0dac63549f..3ea8c882f296dcf66163b0c9b58254a2b93e06ae:/ikiwiki?ds=inline 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: $@"); } } } #}}}