Add missing requirement of IkiWiki::render before starting to render things
authorSimon McVittie <http://smcv.pseudorandom.co.uk/>
Sat, 12 Jul 2008 21:52:46 +0000 (22:52 +0100)
committerSimon McVittie <http://smcv.pseudorandom.co.uk/>
Sat, 12 Jul 2008 21:52:46 +0000 (22:52 +0100)
IkiWiki/Setup.pm
doc/bugs/Undefined_subroutine_IkiWiki::refresh.mdwn

index 2b76efc16b92bd471429f660df73d4d2f24b05e9..3b7a112539acf794e855a6daffb192f657c49f11 100644 (file)
@@ -97,6 +97,8 @@ sub setup () { #{{{
        loadplugins();
        checkconfig();
 
+       require IkiWiki::Render;
+
        if ($config{render}) {
                commandline_render();
        }
index 827aff0f2feb975d3074e08e59d758062c270982..c0cc3fd9a8ed0acd67cdc77e71b6206247987464 100644 (file)
@@ -3,4 +3,5 @@ After building a fresh deb from current Git master (9b62dac4bcf62f3a1f76ec5a7ed5
         $ ikiwiki --setup ~/ikiwiki.setup  --rebuild
         Undefined subroutine &IkiWiki::refresh called at /usr/share/perl5/IkiWiki/Setup.pm line 113.
 
-> Patch coming soon to the "bugs" branch in http://git.debian.org/?p=users/smcv/ikiwiki.git --smcv
+> [[done]], it just needed "require IkiWiki::Render" before it started
+> rendering. --[[smcv]]