diff options
author | Joey Hess <joey@kodama.kitenet.net> | 1997-08-14 08:31:42 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 1997-08-14 08:31:42 -0400 |
commit | 91cb55d96b549e3b29afb398a79d15591e39e3aa (patch) | |
tree | 51458a67d629ecc34ba419c42e35627aaf72040b /ikiwiki.in | |
parent | 04a03c097a46f28de4b803ef28b33c3dda2c3297 (diff) | |
download | ikiwiki-91cb55d96b549e3b29afb398a79d15591e39e3aa.tar ikiwiki-91cb55d96b549e3b29afb398a79d15591e39e3aa.tar.gz |
Correct --dumpsetup to include the srcdir in the setup file.
Diffstat (limited to 'ikiwiki.in')
-rwxr-xr-x | ikiwiki.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ikiwiki.in b/ikiwiki.in index 344b88148..473cbdbfd 100755 --- a/ikiwiki.in +++ b/ikiwiki.in @@ -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}); |