require srcdir and destdir params when --render used w/o --setup
The srcdir is needed by --render, so if --setup is not specified, read it at the command line.master
parent
6d445cdaca
commit
6ad8b8f760
|
@ -98,7 +98,7 @@ sub getconfig () { #{{{
|
|||
"help|h" => sub { $SIG{__WARN__}=sub {}; die },
|
||||
) || usage();
|
||||
|
||||
if (! $config{setup} && ! $config{render}) {
|
||||
if (! $config{setup}) {
|
||||
loadplugins();
|
||||
if (@ARGV == 2) {
|
||||
$config{srcdir} = possibly_foolish_untaint(shift @ARGV);
|
||||
|
|
Loading…
Reference in New Issue