The syslog value from the setup file is purposfully ignored when doing
ikiwiki -setup, so that it will output to stdout (while generating wrappers
that do use the syslog). But that caused -dumpsetup to not preserve
the syslog value from the setup file.
used to set up anonymous git pushes, and other similar things.
* git: Allow [[sha1_commit]] to be used in the diffurl, to support cgit.
* shortcut: Fix display of shortcuts while previewing.
used to set up anonymous git pushes, and other similar things.
* git: Allow [[sha1_commit]] to be used in the diffurl, to support cgit.
* shortcut: Fix display of shortcuts while previewing.
+ * Preserve syslog setting when doing `ikiwiki -setup foo -dumpsetup bar`
-- Joey Hess <joeyh@debian.org> Fri, 17 Oct 2008 20:11:02 -0400
-- Joey Hess <joeyh@debian.org> Fri, 17 Oct 2008 20:11:02 -0400
if ($config{dumpsetup}) {
$config{srdir}=$config{destdir}="";
if ($config{dumpsetup}) {
$config{srdir}=$config{destdir}="";
+ $config{syslog}=1 if $config{setupsyslog};
require IkiWiki::Setup;
IkiWiki::Setup::dump($config{dumpsetup});
}
require IkiWiki::Setup;
IkiWiki::Setup::dump($config{dumpsetup});
}