提交 da0c30b9 编写于 作者: J Jan Kotas 提交者: GitHub

Use ExecutionPolicy ByPass to execute probe-win.ps1 script during the build (dotnet/corefx#14605)

Port fix for https://github.com/dotnet/corert/issues/2377

Commit migrated from https://github.com/dotnet/corefx/commit/00299d175177c05ee7e1b10741183d78a1d75631
上级 ebc6b441
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册