From 87a845a08237452a762cdcf128b8842e878e1cd3 Mon Sep 17 00:00:00 2001 From: Dave Page Date: Wed, 23 Nov 2016 14:37:02 +0000 Subject: [PATCH] Specify the default PG binpath on Windows --- Make.bat | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Make.bat b/Make.bat index 3af9d85ac..eeab78de1 100644 --- a/Make.bat +++ b/Make.bat @@ -252,6 +252,10 @@ GOTO:EOF ECHO Creating config_distro.py ECHO SERVER_MODE = False > "%PGBUILDPATH%\web\config_distro.py" ECHO HELP_PATH = '../../../docs/en_US/html/' >> "%PGBUILDPATH%\web\config_distro.py" + ECHO DEFAULT_BINARY_PATHS = { >> "%PGBUILDPATH%\web\config_distro.py" + ECHO 'pg': '$DIR/../runtime', >> "%PGBUILDPATH%\web\config_distro.py" + ECHO 'ppas': '' >> "%PGBUILDPATH%\web\config_distro.py" + ECHO } >> "%PGBUILDPATH%\web\config_distro.py" ECHO Building docs... MKDIR "%PGBUILDPATH%\docs\en_US\html" @@ -363,6 +367,8 @@ GOTO:EOF IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL% copy "%PGDIR%\bin\libiconv-*.dll" "%PGBUILDPATH%\runtime" IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL% + copy "%PGDIR%\bin\zlib1.dll" "%PGBUILDPATH%\runtime" + IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL% copy "%PGDIR%\bin\pg_dump.exe" "%PGBUILDPATH%\runtime" IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL% copy "%PGDIR%\bin\pg_dumpall.exe" "%PGBUILDPATH%\runtime"