]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - ikiwiki
web commit by joey
[git.ikiwiki.info.git] / ikiwiki
diff --git a/ikiwiki b/ikiwiki
index 6c42a7e5d8037f173e6a3660e1475f614a29618f..8367e9118df42901e0f18e3c0ecf4adccc24eff3 100755 (executable)
--- 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: $@");
                }
        }
 } #}}}