head	1.3;
access;
symbols
	REL9_0_0:1.3
	REL9_1_ALPHA1:1.3
	REL9_0_RC1:1.3
	REL9_0_BETA4:1.3
	REL9_0_STABLE:1.3.0.16
	REL9_0_BETA3:1.3
	REL9_0_BETA2:1.3
	REL8_3_11:1.3
	REL8_4_4:1.3
	REL9_0_BETA1:1.3
	REL9_0_ALPHA5_BRANCH:1.3.0.14
	REL9_0_ALPHA5:1.3
	REL8_3_10:1.3
	REL8_4_3:1.3
	REL9_0_ALPHA4:1.3
	REL9_0_ALPHA4_BRANCH:1.3.0.12
	REL8_5_ALPHA3:1.3
	REL8_5_ALPHA3_BRANCH:1.3.0.10
	REL8_3_9:1.3
	REL8_4_2:1.3
	REL8_5_ALPHA2:1.3
	REL8_5_ALPHA2_BRANCH:1.3.0.8
	REL8_3_8:1.3
	REL8_4_1:1.3
	REL8_5_ALPHA1:1.3
	REL8_5_ALPHA1_BRANCH:1.3.0.6
	REL8_4_STABLE:1.3.0.4
	REL8_4_0:1.3
	REL8_4_RC2:1.3
	REL8_4_RC1:1.3
	REL8_4_BETA2:1.3
	REL8_4_BETA1:1.3
	REL8_3_7:1.3
	REL8_3_6:1.3
	REL8_3_5:1.3
	REL8_3_4:1.3
	REL8_3_3:1.3
	REL8_3_2:1.3
	REL8_3_1:1.3
	REL8_3_STABLE:1.3.0.2
	REL8_3_0:1.3
	REL8_3_RC2:1.3
	REL8_3_RC1:1.3
	REL8_3_BETA4:1.2
	REL8_3_BETA3:1.2
	REL8_3_BETA2:1.2
	REL8_3_BETA1:1.2;
locks; strict;
comment	@:: @;


1.3
date	2007.12.19.12.29.36;	author mha;	state Exp;
branches;
next	1.2;

1.2
date	2007.06.26.11.43.56;	author mha;	state Exp;
branches;
next	1.1;

1.1
date	2007.05.01.20.11.14;	author mha;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Make all msvc build scripts use buildenv.pl, not buildenv.bat.

Andrew Dunstan
@
text
@@@echo off
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

SETLOCAL

IF NOT EXIST buildenv.pl goto nobuildenv
perl -e "require 'buildenv.pl'; while(($k,$v) = each %ENV) { print qq[\@@SET $k=$v\n]; }" > bldenv.bat
CALL bldenv.bat
del bldenv.bat
:nobuildenv 

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%
@


1.2
log
@Add extra checks for buildfarm to pick up errors when running
on XP or earlier versions of Windows.

Andrew Dunstan
@
text
@d2 1
a2 1
REM $PostgreSQL: pgsql/src/tools/msvc/install.bat,v 1.1 2007/05/01 20:11:14 mha Exp $
d16 6
a21 1
if exist buildenv.bat call buildenv.bat
@


1.1
log
@Add wrapper script around install.pl that calls buildenv.bat before doing
the install.

Dave Page
@
text
@d2 1
a2 1
REM $PostgreSQL$
d9 2
d20 2
@

