Commit 4dfc6a32 authored by Andrew Nicols's avatar Andrew Nicols
Browse files

Merge branch 'wip-mdl-55986-fix-2' of https://github.com/rajeshtaneja/moodle

parents 0223a663 f32c2fd7
......@@ -94,7 +94,7 @@ if ($options['parallel'] && $options['parallel'] > 1) {
// Sanitize all input options, so they can be passed to util.
foreach ($options as $option => $value) {
if ($value) {
$commandoptions .= " --$option='$value'";
$commandoptions .= " --$option=\"$value\"";
}
}
} else {
......
......@@ -269,7 +269,7 @@ function commands_to_execute($options) {
if ($options[$option]) {
$extra .= " --$option";
if ($value) {
$extra .= "='$value'";
$extra .= "=\"$value\"";
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment