mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
Merge branch 'wip-mdl-55986-fix-2' of https://github.com/rajeshtaneja/moodle
This commit is contained in:
commit
4dfc6a3296
2 changed files with 2 additions and 2 deletions
|
@ -94,7 +94,7 @@ if ($options['parallel'] && $options['parallel'] > 1) {
|
||||||
// Sanitize all input options, so they can be passed to util.
|
// Sanitize all input options, so they can be passed to util.
|
||||||
foreach ($options as $option => $value) {
|
foreach ($options as $option => $value) {
|
||||||
if ($value) {
|
if ($value) {
|
||||||
$commandoptions .= " --$option='$value'";
|
$commandoptions .= " --$option=\"$value\"";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -269,7 +269,7 @@ function commands_to_execute($options) {
|
||||||
if ($options[$option]) {
|
if ($options[$option]) {
|
||||||
$extra .= " --$option";
|
$extra .= " --$option";
|
||||||
if ($value) {
|
if ($value) {
|
||||||
$extra .= "='$value'";
|
$extra .= "=\"$value\"";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue