oops
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 23 Mar 2006 10:27:47 +0000 (10:27 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 23 Mar 2006 10:27:47 +0000 (10:27 +0000)
ikiwiki

diff --git a/ikiwiki b/ikiwiki
index 42724331255fcc4ecc4b2c3d906493efd7ac8d40..936b0a1733cbf7decac4ac22066f3aa02e0069e8 100755 (executable)
--- a/ikiwiki
+++ b/ikiwiki
@@ -70,8 +70,8 @@ sub getconfig () { #{{{
 
                if (! $config{setup}) {
                        usage() unless @ARGV == 2;
-                       $config{srcdir} = possibly_foolish_untaint(shift);
-                       $config{destdir} = possibly_foolish_untaint(shift);
+                       $config{srcdir} = possibly_foolish_untaint(shift @ARGV);
+                       $config{destdir} = possibly_foolish_untaint(shift @ARGV);
                        checkconfig();
                }
        }