diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-10-30 15:05:58 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-10-30 15:05:58 -0400 |
commit | 6ad8b8f7608d58a366b2813a397851f0c1c94411 (patch) | |
tree | 6eb1bc27dace81b1d15dfedb297aa77ce9555afd | |
parent | 6d445cdacabc15e8966912fd2ce6794863d64b8a (diff) |
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.
-rwxr-xr-x | ikiwiki.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ikiwiki.in b/ikiwiki.in index d2f5d48dc..1a6d18a60 100755 --- a/ikiwiki.in +++ b/ikiwiki.in @@ -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); |