Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Cohn <macohn@microsoft.com>2014-12-03 02:58:06 +0300
committerMatt Cohn <macohn@microsoft.com>2014-12-03 02:58:06 +0300
commitc0581acc6abf91045cf8b2650e96b2d26eaedf57 (patch)
tree2ceda418ed6d592cd5f422fe2a1397a4dd77b082 /build.cmd
parentf3372501968ba1c2337bec8eddd92cc0be9c0bd1 (diff)
Cause build.cmd to set errorlevel to 1 on failed prereqs
Diffstat (limited to 'build.cmd')
-rw-r--r--build.cmd4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.cmd b/build.cmd
index 6e0c889cf7..82f167750b 100644
--- a/build.cmd
+++ b/build.cmd
@@ -11,9 +11,9 @@ set _msbuildexe="%ProgramFiles(x86)%\MSBuild\12.0\Bin\MSBuild.exe"
if not exist %_msbuildexe% set _msbuildexe="%ProgramFiles%\MSBuild\12.0\Bin\MSBuild.exe"
if not exist %_msbuildexe% set _msbuildexe="%ProgramFiles(x86)%\MSBuild\14.0\Bin\MSBuild.exe"
if not exist %_msbuildexe% set _msbuildexe="%ProgramFiles%\MSBuild\14.0\Bin\MSBuild.exe"
-if not exist %_msbuildexe% echo Error: Could not find MSBuild.exe. Please see https://github.com/dotnet/corefx/wiki/Developer%20Guide for build instructions. && goto :eof
+if not exist %_msbuildexe% echo Error: Could not find MSBuild.exe. Please see https://github.com/dotnet/corefx/wiki/Developer%%20Guide for build instructions. && exit /b 1
-if not defined VSINSTALLDIR echo Error: build.cmd should be run from a Visual Studio Command Prompt. Please see https://github.com/dotnet/corefx/wiki/Developer%20Guide for build instructions. && goto :eof
+if not defined VSINSTALLDIR echo Error: build.cmd should be run from a Visual Studio Command Prompt. Please see https://github.com/dotnet/corefx/wiki/Developer%%20Guide for build instructions. && exit /b 1
:: Log build command line
set _buildprefix=echo