From: Simon McVittie Date: Sat, 12 Jul 2008 21:52:46 +0000 (+0100) Subject: Add missing requirement of IkiWiki::render before starting to render things X-Git-Tag: 2.54~70^2~18 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bed1f1037a4dfe6368c81ea2e2a0ac32f56126ce;p=ikiwiki.git Add missing requirement of IkiWiki::render before starting to render things --- diff --git a/IkiWiki/Setup.pm b/IkiWiki/Setup.pm index 2b76efc16..3b7a11253 100644 --- a/IkiWiki/Setup.pm +++ b/IkiWiki/Setup.pm @@ -97,6 +97,8 @@ sub setup () { #{{{ loadplugins(); checkconfig(); + require IkiWiki::Render; + if ($config{render}) { commandline_render(); } diff --git a/doc/bugs/Undefined_subroutine_IkiWiki::refresh.mdwn b/doc/bugs/Undefined_subroutine_IkiWiki::refresh.mdwn index 827aff0f2..c0cc3fd9a 100644 --- a/doc/bugs/Undefined_subroutine_IkiWiki::refresh.mdwn +++ b/doc/bugs/Undefined_subroutine_IkiWiki::refresh.mdwn @@ -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]]