aboutsummaryrefslogtreecommitdiff
path: root/ikiwiki.in
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-10-30 15:05:58 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-10-30 15:05:58 -0400
commit6ad8b8f7608d58a366b2813a397851f0c1c94411 (patch)
tree6eb1bc27dace81b1d15dfedb297aa77ce9555afd /ikiwiki.in
parent6d445cdacabc15e8966912fd2ce6794863d64b8a (diff)
downloadikiwiki-6ad8b8f7608d58a366b2813a397851f0c1c94411.tar
ikiwiki-6ad8b8f7608d58a366b2813a397851f0c1c94411.tar.gz
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.
Diffstat (limited to 'ikiwiki.in')
-rwxr-xr-xikiwiki.in2
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);