projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d445cd
)
require srcdir and destdir params when --render used w/o --setup
author
Joey Hess
<joey@kodama.kitenet.net>
Thu, 30 Oct 2008 19:05:58 +0000
(15:05 -0400)
committer
Joey Hess
<joey@kodama.kitenet.net>
Thu, 30 Oct 2008 19:05:58 +0000
(15:05 -0400)
The srcdir is needed by --render, so if --setup is not specified, read it
at the command line.
ikiwiki.in
patch
|
blob
|
history
diff --git
a/ikiwiki.in
b/ikiwiki.in
index d2f5d48dcc85889090f87b22c5684b81844f6d28..1a6d18a6089b8e98cb83433e1c5ada1a6f26c917 100755
(executable)
--- 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);