1.1 --- a/make/windows/build.bat Tue Mar 16 17:47:03 2010 -0600 1.2 +++ b/make/windows/build.bat Thu Mar 25 16:27:12 2010 -0700 1.3 @@ -28,6 +28,9 @@ 1.4 REM Since we don't have uname and we could be cross-compiling, 1.5 REM Use the compiler to determine which ARCH we are building 1.6 REM 1.7 +REM Note: Running this batch file from the Windows command shell requires 1.8 +REM that "grep" be accessible on the PATH. An MKS install does this. 1.9 +REM 1.10 cl 2>&1 | grep "IA-64" >NUL 1.11 if %errorlevel% == 0 goto isia64 1.12 cl 2>&1 | grep "AMD64" >NUL 1.13 @@ -109,7 +112,7 @@ 1.14 echo bootstrap_dir is a full path to a JDK in which bin/java 1.15 echo and bin/javac are present and working, and build_id is an 1.16 echo optional build identifier displayed by java -version 1.17 -exit 1 1.18 +exit /b 1 1.19 1.20 :end 1.21 -exit %errorlevel% 1.22 +exit /b %errorlevel%