aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-08-05 16:48:36 -0400
committerJoey Hess <joey@kitenet.net>2011-08-05 17:10:20 -0400
commit77ba8aa7b7721c2da1bb3184a3e26fac6dc12ab1 (patch)
treea86a37c553b7791247e16253eed6faa9515c0a13
parentefbf4270c58c429dcdbb8ec63df7056f04322bba (diff)
downloadikiwiki-77ba8aa7b7721c2da1bb3184a3e26fac6dc12ab1.tar
ikiwiki-77ba8aa7b7721c2da1bb3184a3e26fac6dc12ab1.tar.gz
call checkconfig in --dumpsetup
This avoids warnings when building a setup file from scratch, in which case some default settings need to be used.
-rwxr-xr-xikiwiki.in1
1 files changed, 1 insertions, 0 deletions
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});
}