Fix win_robocopy flags argument (#19603)

This commit is contained in:
Kevin Houdebert 2017-01-04 15:27:24 +01:00 committed by John R Barker
parent 45c57618b3
commit 2ffb705049

View file

@ -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