diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-09-08 19:21:45 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-09-08 19:21:45 -0400 |
commit | 0e654c1ea0b7009f497a7fc6f44263ee79860dd8 (patch) | |
tree | 8ca430ec4889a5df107d8b3a3102ab121c695149 /ikiwiki.in | |
parent | f50622f1361b45e15e53a5b849c64483d2a29d21 (diff) | |
download | ikiwiki-0e654c1ea0b7009f497a7fc6f44263ee79860dd8.tar ikiwiki-0e654c1ea0b7009f497a7fc6f44263ee79860dd8.tar.gz |
Avoid uninitialised value when --dumpsetup is used and no srcdir/destdir specified.
Diffstat (limited to 'ikiwiki.in')
-rwxr-xr-x | ikiwiki.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ikiwiki.in b/ikiwiki.in index e0a657cda..878d35065 100755 --- a/ikiwiki.in +++ b/ikiwiki.in @@ -154,6 +154,7 @@ sub main () { #{{{ } if ($config{dumpsetup}) { + $config{srdir}=$config{destdir}=""; require IkiWiki::Setup; IkiWiki::Setup::dump($config{dumpsetup}); } |