summaryrefslogtreecommitdiff
path: root/ikiwiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-14 05:51:57 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-14 05:51:57 +0000
commit2885278ebd2e2bfad188a583d7ad5d3c8b7c3a21 (patch)
tree64ebc8b0622c8337046ad15ac1ab4c2963aa5700 /ikiwiki
parentc768f9a2e988a31f4e27923cc608edad0e19b7b4 (diff)
remove quotes, actualy messed up ikiwiki $(wrapper --params) --foo
Diffstat (limited to 'ikiwiki')
-rwxr-xr-xikiwiki11
1 files changed, 4 insertions, 7 deletions
diff --git a/ikiwiki b/ikiwiki
index 7794113f5..d6057c101 100755
--- a/ikiwiki
+++ b/ikiwiki
@@ -69,11 +69,8 @@ sub error { #{{{
if ($config{cgi}) {
print "Content-type: text/html\n\n";
print misctemplate("Error", "<p>Error: @_</p>");
- exit 1;
- }
- else {
- die @_;
}
+ die @_;
} #}}}
sub debug ($) { #{{{
@@ -364,10 +361,10 @@ sub check_overwrite ($$) { #{{{
my $src=shift;
if (! exists $renderedfiles{$src} && -e $dest && ! $config{rebuild}) {
- error("$dest exists and was rendered from ".
+ error("$dest already exists and was rendered from ".
join(" ",(grep { $renderedfiles{$_} eq $dest } keys
%renderedfiles)).
- ", not from $src before not overwriting");
+ ", before, so not rendering from $src");
}
} #}}}
@@ -692,7 +689,7 @@ sub gen_wrapper (@) { #{{{
push @params, "--cgiurl=$config{cgiurl}" if length $config{cgiurl};
push @params, "--historyurl=$config{historyurl}" if length $config{historyurl};
push @params, "--anonok" if $config{anonok};
- my $params=join(" ", map { "\'$_\'" } @params);
+ my $params=join(" ", @params);
my $call='';
foreach my $p ($this, $this, @params) {
$call.=qq{"$p", };