summaryrefslogtreecommitdiff
path: root/ikiwiki
diff options
context:
space:
mode:
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", };