diff options
| author | Magnus Hagander <magnus@hagander.net> | 2007-06-26 11:43:56 +0000 |
|---|---|---|
| committer | Magnus Hagander <magnus@hagander.net> | 2007-06-26 11:43:56 +0000 |
| commit | d1eaa42fd52d6a9fe3e4e2f8090166a427db6318 (patch) | |
| tree | 2488ea44c538887a1c805756f8b1fa69309f361e /src/tools/msvc/install.bat | |
| parent | a03e8ad266566dfeacd354488a9de15fe6080b64 (diff) | |
| download | postgresql-d1eaa42fd52d6a9fe3e4e2f8090166a427db6318.tar.gz | |
Add extra checks for buildfarm to pick up errors when running
on XP or earlier versions of Windows.
Andrew Dunstan
Diffstat (limited to 'src/tools/msvc/install.bat')
| -rw-r--r-- | src/tools/msvc/install.bat | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tools/msvc/install.bat b/src/tools/msvc/install.bat index a5e8574290..3eb8e3ee81 100644 --- a/src/tools/msvc/install.bat +++ b/src/tools/msvc/install.bat @@ -1,11 +1,13 @@ @echo off -REM $PostgreSQL: pgsql/src/tools/msvc/install.bat,v 1.1 2007/05/01 20:11:14 mha Exp $ +REM $PostgreSQL: pgsql/src/tools/msvc/install.bat,v 1.2 2007/06/26 11:43:56 mha Exp $ if NOT "%1"=="" GOTO RUN_INSTALL echo Invalid command line options. echo Usage: "install.bat <path>" echo. +REM exit fix for pre-2003 shell especially if used on buildfarm +if "%XP_EXIT_FIX%" == "yes" exit 1 exit /b 1 :RUN_INSTALL @@ -15,4 +17,6 @@ if exist buildenv.bat call buildenv.bat perl install.pl "%1" +REM exit fix for pre-2003 shell especially if used on buildfarm +if "%XP_EXIT_FIX%" == "yes" exit %ERRORLEVEL% exit /b %ERRORLEVEL% |
