From 77ba8aa7b7721c2da1bb3184a3e26fac6dc12ab1 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 5 Aug 2011 16:48:36 -0400 Subject: [PATCH] call checkconfig in --dumpsetup This avoids warnings when building a setup file from scratch, in which case some default settings need to be used. --- ikiwiki.in | 1 + 1 file changed, 1 insertion(+) diff --git a/ikiwiki.in b/ikiwiki.in index 339efd37c..adff1411e 100755 --- a/ikiwiki.in +++ b/ikiwiki.in @@ -180,6 +180,7 @@ sub main () { $config{srcdir}="" if ! defined $config{srcdir}; $config{destdir}="" if ! defined $config{destdir}; $config{syslog}=1 if $config{setupsyslog}; + checkconfig(); require IkiWiki::Setup; IkiWiki::Setup::dump($config{dumpsetup}); } -- 2.26.2