summaryrefslogtreecommitdiff
path: root/build.cmd
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2016-12-17 23:44:29 -0800
committerGitHub <noreply@github.com>2016-12-17 23:44:29 -0800
commit4497b25d1107846e0ac8d09fa13e40173528fe9e (patch)
tree1c4b79f46e4ddef283e0dc8ecd3029abe2f15aed /build.cmd
parent466fc3252f78619612a2da8d21787460b2d94c0d (diff)
downloadcoreclr-4497b25d1107846e0ac8d09fa13e40173528fe9e.tar.gz
coreclr-4497b25d1107846e0ac8d09fa13e40173528fe9e.tar.bz2
coreclr-4497b25d1107846e0ac8d09fa13e40173528fe9e.zip
Use ExecutionPolicy ByPass to execute probe-win.ps1 script during the build (#8673)
Port of https://github.com/dotnet/corert/issues/2377
Diffstat (limited to 'build.cmd')
-rw-r--r--build.cmd2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.cmd b/build.cmd
index 16f1e28cbf..f8c49e397a 100644
--- a/build.cmd
+++ b/build.cmd
@@ -189,7 +189,7 @@ echo %__MsgPrefix%Commencing CoreCLR Repo build
echo %__MsgPrefix%Checking prerequisites
:: Eval the output from probe-win1.ps1
-for /f "delims=" %%a in ('powershell -NoProfile -ExecutionPolicy RemoteSigned "& ""%__SourceDir%\pal\tools\probe-win.ps1"""') do %%a
+for /f "delims=" %%a in ('powershell -NoProfile -ExecutionPolicy ByPass "& ""%__SourceDir%\pal\tools\probe-win.ps1"""') do %%a
REM =========================================================================================
REM ===