From 53df6c7f96bd4b18182090e5818f8995b18d373f Mon Sep 17 00:00:00 2001 From: Dan Thompson Date: Thu, 16 Jul 2020 16:58:48 -0700 Subject: [PATCH] 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. --- tools/bcz.cmd | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/bcz.cmd b/tools/bcz.cmd index f70269aaf..3262b0b39 100644 --- a/tools/bcz.cmd +++ b/tools/bcz.cmd @@ -116,8 +116,12 @@ set "__PROJECT_NAME=!_OUTPUT!" rem If we're trying to clean build, make sure to update the target here. if "%_MSBUILD_TARGET%" == "Build" ( set __MSBUILD_TARGET=%__PROJECT_NAME% -) else if "%_MSBUILD_TARGET%" == "Clean,Build" ( +) else if "%_MSBUILD_TARGET%" == "Clean;Build" ( 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 scope. Because they're all on one line, the value of our local variables