Fix 'bcz exclusive' typo (#6938)

Without this fix, you'd end up with an empty target variable, and so
msbuild would complain and tell you to give it a target.
This commit is contained in:
Dan Thompson 2020-07-16 16:58:48 -07:00 committed by GitHub
parent 81b7e54659
commit 53df6c7f96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -116,8 +116,12 @@ set "__PROJECT_NAME=!_OUTPUT!"
rem If we're trying to clean build, make sure to update the target here. rem If we're trying to clean build, make sure to update the target here.
if "%_MSBUILD_TARGET%" == "Build" ( if "%_MSBUILD_TARGET%" == "Build" (
set __MSBUILD_TARGET=%__PROJECT_NAME% set __MSBUILD_TARGET=%__PROJECT_NAME%
) else if "%_MSBUILD_TARGET%" == "Clean,Build" ( ) else if "%_MSBUILD_TARGET%" == "Clean;Build" (
set __MSBUILD_TARGET=%__PROJECT_NAME%:Rebuild set __MSBUILD_TARGET=%__PROJECT_NAME%:Rebuild
) else (
echo.
echo Oops... build bug in the neighborhood of configuring a build target.
echo.
) )
rem This statement will propagate our internal variables up to the calling rem This statement will propagate our internal variables up to the calling
rem scope. Because they're all on one line, the value of our local variables rem scope. Because they're all on one line, the value of our local variables