From 558e8c3118539a598ccea607b353f1873070924c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 7 Sep 2016 05:43:00 +0200 Subject: 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. --- build-mingw.bat | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'build-mingw.bat') 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 -- cgit v1.1