diff options
-rwxr-xr-x | ikiwiki | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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(); } } |