Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Commit

Permalink
Use ExecutionPolicy ByPass to execute probe-win.ps1 script during the…
Browse files Browse the repository at this point in the history
… build (#14605)

Port fix for dotnet/corert#2377
  • Loading branch information
jkotas authored Dec 18, 2016
1 parent b5ed42b commit 00299d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Native/Windows/gen-buildsys-win.bat
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if defined CMakePath goto DoGen

:: Eval the output from probe-win1.ps1
pushd "%__sourceDir%"
for /f "delims=" %%a in ('powershell -NoProfile -ExecutionPolicy RemoteSigned "& .\probe-win.ps1"') do %%a
for /f "delims=" %%a in ('powershell -NoProfile -ExecutionPolicy ByPass "& .\probe-win.ps1"') do %%a
popd

:DoGen
Expand Down

0 comments on commit 00299d1

Please sign in to comment.