From: Joey Hess Date: Fri, 5 Aug 2011 20:48:36 +0000 (-0400) Subject: call checkconfig in --dumpsetup X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=77ba8aa7b7721c2da1bb3184a3e26fac6dc12ab1;p=ikiwiki.git call checkconfig in --dumpsetup This avoids warnings when building a setup file from scratch, in which case some default settings need to be used. --- 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}); }