projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efbf427
)
call checkconfig in --dumpsetup
author
Joey Hess
<joey@kitenet.net>
Fri, 5 Aug 2011 20:48:36 +0000
(16:48 -0400)
committer
Joey Hess
<joey@kitenet.net>
Fri, 5 Aug 2011 21:10:20 +0000
(17:10 -0400)
This avoids warnings when building a setup file from scratch, in which case
some default settings need to be used.
ikiwiki.in
patch
|
blob
|
history
diff --git
a/ikiwiki.in
b/ikiwiki.in
index 339efd37c3ab8655746bff66c4610924936a4c87..adff1411e8aa715a192f3850a7aef59f4cd04f0b 100755
(executable)
--- 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});
}