From bed1f1037a4dfe6368c81ea2e2a0ac32f56126ce Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sat, 12 Jul 2008 22:52:46 +0100 Subject: [PATCH] Add missing requirement of IkiWiki::render before starting to render things --- IkiWiki/Setup.pm | 2 ++ doc/bugs/Undefined_subroutine_IkiWiki::refresh.mdwn | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) 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]] -- 2.26.2