Skip to content

Commit

Permalink
fix build.ps1 script execution error on cmd due to whitespace (#35554)
Browse files Browse the repository at this point in the history
  • Loading branch information
Himanshu Soni committed Apr 28, 2020
1 parent 2b30fdb commit 2845749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ setlocal
set _args=%*
if "%~1"=="-?" set _args=-help

powershell -ExecutionPolicy ByPass -NoProfile -Command "%~dp0eng\build.ps1" %_args%
powershell -ExecutionPolicy ByPass -NoProfile -Command "& '%~dp0eng\build.ps1'" %_args%
exit /b %ERRORLEVEL%

0 comments on commit 2845749

Please sign in to comment.