summaryrefslogtreecommitdiff
path: root/ikiwiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-13 00:57:37 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-13 00:57:37 +0000
commit192544552d8235024ca0a12cb07192db573e6902 (patch)
treea944a4fcf852cf9f77f9de9cd98903d1c013ba0c /ikiwiki
parent5c734b80df3a9e4bd49b20b0a99276c883445dc0 (diff)
improve quoting of --params
Diffstat (limited to 'ikiwiki')
-rwxr-xr-xikiwiki2
1 files changed, 1 insertions, 1 deletions
diff --git a/ikiwiki b/ikiwiki
index fb721907e..8e22ebfac 100755
--- a/ikiwiki
+++ b/ikiwiki
@@ -642,7 +642,7 @@ sub gen_wrapper ($$) { #{{{
push @params, "--cgiurl=$cgiurl" if $cgiurl;
push @params, "--historyurl=$historyurl" if $historyurl;
push @params, "--anonok" if $anonok;
- my $params=join(" ", @params);
+ my $params=join(" ", map { "\'$_\'" } @params);
my $call='';
foreach my $p ($this, $this, @params) {
$call.=qq{"$p", };