Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fc38526

Browse files
committed
WIP
1 parent 78645d9 commit fc38526

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

build/helpers/probackup.cmd

+4-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ SET PROBACKUP_URL=https://github.com/postgrespro/pg_probackup/tarball/%PROBACKUP
44
SET BIN_DIR=%BUILD_DIR%\pg_probackup_%PG_MAJOR_VERSION%_%PROBACKUP_VERSION%_%ARCH%
55
SET PRODUCT_NAME=PostgreSQL
66

7-
SET PGDIRSRC=%BUILD_DIR%\postgresql\postgresql-%PG_MAJOR_VERSION%\
7+
SET PGDIRSRC=%BUILD_DIR%\postgresql\postgresql-%PGVER%\
88
SET PGDIR=Z:\inst\
99

1010
SET PGDIR=Z:\Program Files\PostgresProEnterprise\11
@@ -27,14 +27,13 @@ tar xf pg_probackup-%PROBACKUP_VERSION%.tar.bz2 -C %BUILD_UDIR%/pg_probackup ||
2727

2828
CD /D %BUILD_DIR%\pg_probackup\*%PROBACKUP_VERSION%* || GOTO :ERROR
2929

30-
gen_probackup_project.pl %BUILD_DIR%\postgresql\postgresql-%PG_MAJOR_VERSION%
30+
gen_probackup_project.pl %BUILD_DIR%\postgresql\postgresql-%PGVER%
3131

3232
MKDIR %BIN_DIR% || GOTO :ERROR
33-
MKDIR %BIN_DIR%\bin || GOTO :ERROR
3433

3534
rem copy pg_probackup binaries and dependencies
36-
copy %BUILD_DIR%\postgresql\postgresql-%PG_MAJOR_VERSION%\Release\pg_probackup.exe %BIN_DIR% || GOTO :ERROR
37-
copy %BUILD_DIR%\postgresql\postgresql-%PG_MAJOR_VERSION%\Release\libpq\libpq.dll %BIN_DIR% || GOTO :ERROR
35+
copy %BUILD_DIR%\postgresql\postgresql-%PGVER%\Release\pg_probackup.exe %BIN_DIR% || GOTO :ERROR
36+
copy %BUILD_DIR%\postgresql\postgresql-%PGVER%\Release\libpq\libpq.dll %BIN_DIR% || GOTO :ERROR
3837
copy %DEPENDENCIES_BIN_DIR%\zlib\lib\zlib1.dll %BIN_DIR% || GOTO :ERROR
3938
copy %DEPENDENCIES_BIN_DIR%\openssl\lib\libeay32.dll %BIN_DIR% || GOTO :ERROR
4039
copy %DEPENDENCIES_BIN_DIR%\openssl\lib\ssleay32.dll %BIN_DIR% || GOTO :ERROR

0 commit comments

Comments
 (0)