From 4497b25d1107846e0ac8d09fa13e40173528fe9e Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Sat, 17 Dec 2016 23:44:29 -0800 Subject: Use ExecutionPolicy ByPass to execute probe-win.ps1 script during the build (#8673) Port of https://github.com/dotnet/corert/issues/2377 --- build.cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build.cmd') 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 === -- cgit v1.2.3