From: joey Date: Thu, 23 Mar 2006 10:27:47 +0000 (+0000) Subject: oops X-Git-Tag: 1.0~255 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d6a4e17e16cfbaa5808ab9d0cd2a6f5abc713ae9;p=ikiwiki.git oops --- diff --git a/ikiwiki b/ikiwiki index 427243312..936b0a173 100755 --- 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(); } }