diff options
author | Magnus Hagander <magnus@hagander.net> | 2007-05-01 20:11:14 +0000 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2007-05-01 20:11:14 +0000 |
commit | d6013a34f29777254eb5e285a3468960f449de50 (patch) | |
tree | ad95d5691792368357271ba60cc74cd2753e0018 | |
parent | b4349519c178b2b46cc42872a28d896291b6464e (diff) | |
download | postgresql-d6013a34f29777254eb5e285a3468960f449de50.tar.gz postgresql-d6013a34f29777254eb5e285a3468960f449de50.zip |
Add wrapper script around install.pl that calls buildenv.bat before doing
the install.
Dave Page
-rw-r--r-- | src/tools/msvc/install.bat | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/tools/msvc/install.bat b/src/tools/msvc/install.bat new file mode 100644 index 00000000000..a5e85742909 --- /dev/null +++ b/src/tools/msvc/install.bat @@ -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% |