mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-30 02:41:26 +02:00
Add wrapper script around install.pl that calls buildenv.bat before doing
the install. Dave Page
This commit is contained in:
parent
b4349519c1
commit
d6013a34f2
18
src/tools/msvc/install.bat
Normal file
18
src/tools/msvc/install.bat
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
@echo off
|
||||||
|
REM $PostgreSQL: pgsql/src/tools/msvc/install.bat,v 1.1 2007/05/01 20:11:14 mha Exp $
|
||||||
|
|
||||||
|
if NOT "%1"=="" GOTO RUN_INSTALL
|
||||||
|
|
||||||
|
echo Invalid command line options.
|
||||||
|
echo Usage: "install.bat <path>"
|
||||||
|
echo.
|
||||||
|
exit /b 1
|
||||||
|
|
||||||
|
:RUN_INSTALL
|
||||||
|
|
||||||
|
SETLOCAL
|
||||||
|
if exist buildenv.bat call buildenv.bat
|
||||||
|
|
||||||
|
perl install.pl "%1"
|
||||||
|
|
||||||
|
exit /b %ERRORLEVEL%
|
Loading…
Reference in New Issue
Block a user