fix
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Tue, 2 May 2006 02:47:54 +0000 (02:47 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Tue, 2 May 2006 02:47:54 +0000 (02:47 +0000)
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: $@");
                }
        }
 } #}}}