]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - ikiwiki.in
smcvpostcomment: indicate in form whether HTML and directives are allowed
[git.ikiwiki.info.git] / ikiwiki.in
index 344b881489de4c31865a4abb610be4ddef2f0fa3..473cbdbfd059351afe086257909ff1b8dc4f1da5 100755 (executable)
@@ -163,7 +163,8 @@ sub main () { #{{{
        }
 
        if ($config{dumpsetup}) {
-               $config{srdir}=$config{destdir}="";
+               $config{srcdir}="" if ! defined $config{srcdir};
+               $config{destdir}="" if ! defined $config{destdir};
                $config{syslog}=1 if $config{setupsyslog};
                require IkiWiki::Setup;
                IkiWiki::Setup::dump($config{dumpsetup});