Fix win_robocopy flags argument (#19603)
This commit is contained in:
parent
45c57618b3
commit
2ffb705049
1 changed files with 3 additions and 1 deletions
|
@ -85,7 +85,9 @@ if ($flags -eq $null) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Else {
|
Else {
|
||||||
$robocopy_opts += $flags
|
ForEach ($f in $flags.split(" ")) {
|
||||||
|
$robocopy_opts += $f
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Set-Attr $result.win_robocopy "purge" $purge
|
Set-Attr $result.win_robocopy "purge" $purge
|
||||||
|
|
Loading…
Reference in a new issue