aboutsummaryrefslogtreecommitdiff
path: root/build-mingw.bat
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-09-07 05:43:00 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-09-07 05:43:00 +0200
commit558e8c3118539a598ccea607b353f1873070924c (patch)
tree033fc0d38995a6847fc32a8155892ec24d6627e0 /build-mingw.bat
parent12069ed3219a7331936646306aaa8e6ee02ce123 (diff)
Handle lack of where command on Windows XP without Resource Kit
Note that we only do this for MinGW batch file/documentation since one cannot install MSVC 14 on XP and that's the earliest version we support.
Diffstat (limited to 'build-mingw.bat')
-rw-r--r--build-mingw.bat10
1 files changed, 6 insertions, 4 deletions
diff --git a/build-mingw.bat b/build-mingw.bat
index 76efb51..51d01ef 100644
--- a/build-mingw.bat
+++ b/build-mingw.bat
@@ -120,11 +120,13 @@ build2\build2\b-boot configure^
build2\build2\b-boot install
@if errorlevel 1 goto error
+@rem The where command is not available on XP without the resource kit.
+@rem
where b-stage
-@if errorlevel 1 goto error
+@rem @if errorlevel 1 goto error
where bpkg-stage
-@if errorlevel 1 goto error
+@rem @if errorlevel 1 goto error
b-stage --version
@if errorlevel 1 goto error
@@ -161,10 +163,10 @@ bpkg-stage install build2 bpkg
@if errorlevel 1 goto error
where b
-@if errorlevel 1 goto error
+@rem @if errorlevel 1 goto error
where bpkg
-@if errorlevel 1 goto error
+@rem @if errorlevel 1 goto error
b --version
@if errorlevel 1 goto error