summaryrefslogtreecommitdiff
path: root/build-test.cmd
diff options
context:
space:
mode:
authorBruce Forstall <brucefo@microsoft.com>2017-11-26 07:13:04 -0800
committerJan Kotas <jkotas@microsoft.com>2017-11-26 07:13:04 -0800
commitb9b174d26a65f155dd447dcb693d51a4ffc19de6 (patch)
treee397d3cfd2d151e02cbf9881faa6a74f4a4c92c0 /build-test.cmd
parentd6c7e5ee06629e0dffda62f8ebeac6a5c990dfa8 (diff)
downloadcoreclr-b9b174d26a65f155dd447dcb693d51a4ffc19de6.tar.gz
coreclr-b9b174d26a65f155dd447dcb693d51a4ffc19de6.tar.bz2
coreclr-b9b174d26a65f155dd447dcb693d51a4ffc19de6.zip
Fix Powershell error (#15217)
Diffstat (limited to 'build-test.cmd')
-rw-r--r--build-test.cmd4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-test.cmd b/build-test.cmd
index 137d6a3aa3..2aa9f4e715 100644
--- a/build-test.cmd
+++ b/build-test.cmd
@@ -316,9 +316,9 @@ if errorlevel 1 (
REM Prepare the Test Drop
REM Cleans any NI from the last run
-powershell "-NoProfile Get-ChildItem -path %__TestWorkingDir% -Include '*.ni.*' -Recurse -Force | Remove-Item -force"
+powershell -NoProfile "Get-ChildItem -path %__TestWorkingDir% -Include '*.ni.*' -Recurse -Force | Remove-Item -force"
REM Cleans up any lock folder used for synchronization from last run
-powershell "-NoProfile Get-ChildItem -path %__TestWorkingDir% -Include 'lock' -Recurse -Force | where {$_.Attributes -eq 'Directory'}| Remove-Item -force -Recurse"
+powershell -NoProfile "Get-ChildItem -path %__TestWorkingDir% -Include 'lock' -Recurse -Force | where {$_.Attributes -eq 'Directory'}| Remove-Item -force -Recurse"
set CORE_ROOT=%__TestBinDir%\Tests\Core_Root
set CORE_ROOT_STAGE=%__TestBinDir%\Tests\Core_Root_Stage