From 6ad8b8f7608d58a366b2813a397851f0c1c94411 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 30 Oct 2008 15:05:58 -0400 Subject: [PATCH] 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. --- ikiwiki.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.26.2