aboutsummaryrefslogtreecommitdiff
path: root/ikiwiki.in
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>1997-08-14 08:31:42 -0400
committerJoey Hess <joey@kodama.kitenet.net>1997-08-14 08:31:42 -0400
commit91cb55d96b549e3b29afb398a79d15591e39e3aa (patch)
tree51458a67d629ecc34ba419c42e35627aaf72040b /ikiwiki.in
parent04a03c097a46f28de4b803ef28b33c3dda2c3297 (diff)
downloadikiwiki-91cb55d96b549e3b29afb398a79d15591e39e3aa.tar
ikiwiki-91cb55d96b549e3b29afb398a79d15591e39e3aa.tar.gz
Correct --dumpsetup to include the srcdir in the setup file.
Diffstat (limited to 'ikiwiki.in')
-rwxr-xr-xikiwiki.in3
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});