]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
Avoid uninitialised value when --dumpsetup is used and no srcdir/destdir specified.
authorJoey Hess <joey@kodama.kitenet.net>
Mon, 8 Sep 2008 23:21:45 +0000 (19:21 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Mon, 8 Sep 2008 23:21:45 +0000 (19:21 -0400)
debian/changelog
ikiwiki.in

index e72b3c134fb3f93fbaad2855d77a210a69e8aea2..02017174c4792d51d1905e8df653a2abc39a0248 100644 (file)
@@ -1,3 +1,10 @@
+ikiwiki (2.64) UNRELEASED; urgency=low
+
+  * Avoid uninitialised value when --dumpsetup is used and no srcdir/destdir
+    specified.
+
+ -- Joey Hess <joeyh@debian.org>  Mon, 08 Sep 2008 19:21:20 -0400
+
 ikiwiki (2.63) unstable; urgency=low
 
   * Set cookies HttpOnly.
index e0a657cda6e5a32457ff5683a113c0a08f56b8ec..878d3506519a02e496fdb13564c4591a8d6fb0ea 100755 (executable)
@@ -154,6 +154,7 @@ sub main () { #{{{
        }
 
        if ($config{dumpsetup}) {
+               $config{srdir}=$config{destdir}="";
                require IkiWiki::Setup;
                IkiWiki::Setup::dump($config{dumpsetup});
        }