Skip to content

Commit d6013a3

Browse files
committed
Add wrapper script around install.pl that calls buildenv.bat before doing
the install. Dave Page
1 parent b434951 commit d6013a3

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/tools/msvc/install.bat

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
@echo off
2+
REM $PostgreSQL: pgsql/src/tools/msvc/install.bat,v 1.1 2007/05/01 20:11:14 mha Exp $
3+
4+
if NOT "%1"=="" GOTO RUN_INSTALL
5+
6+
echo Invalid command line options.
7+
echo Usage: "install.bat <path>"
8+
echo.
9+
exit /b 1
10+
11+
:RUN_INSTALL
12+
13+
SETLOCAL
14+
if exist buildenv.bat call buildenv.bat
15+
16+
perl install.pl "%1"
17+
18+
exit /b %ERRORLEVEL%

0 commit comments

Comments
 (0)