Fix building from build.cmd on a path containing spaces

Add additional quoting when passing the initial command to powershell.
This commit is contained in:
Daniel Bradley 2016-07-11 23:36:54 +01:00
parent ec7fc0fc2d
commit 600da0a8ac

View file

@ -3,5 +3,5 @@
REM Copyright (c) .NET Foundation and contributors. All rights reserved.
REM Licensed under the MIT license. See LICENSE file in the project root for full license information.
powershell -NoProfile -NoLogo -Command "%~dp0build_projects\dotnet-cli-build\build.ps1 %*; exit $LastExitCode;"
powershell -NoProfile -NoLogo -Command "& \"%~dp0build_projects\dotnet-cli-build\build.ps1\" %*; exit $LastExitCode;"
if %errorlevel% neq 0 exit /b %errorlevel%