File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ SET PROBACKUP_URL=https://github.com/postgrespro/pg_probackup/tarball/%PROBACKUP
4
4
SET BIN_DIR = %BUILD_DIR% \pg_probackup_%PG_MAJOR_VERSION% _%PROBACKUP_VERSION% _%ARCH%
5
5
SET PRODUCT_NAME = PostgreSQL
6
6
7
- SET PGDIRSRC = %BUILD_DIR% \postgresql\postgresql-%PG_MAJOR_VERSION % \
7
+ SET PGDIRSRC = %BUILD_DIR% \postgresql\postgresql-%PGVER % \
8
8
SET PGDIR = Z:\inst\
9
9
10
10
SET PGDIR = Z:\Program Files\PostgresProEnterprise\11
@@ -27,14 +27,13 @@ tar xf pg_probackup-%PROBACKUP_VERSION%.tar.bz2 -C %BUILD_UDIR%/pg_probackup ||
27
27
28
28
CD /D %BUILD_DIR% \pg_probackup\*%PROBACKUP_VERSION% * || GOTO :ERROR
29
29
30
- gen_probackup_project.pl %BUILD_DIR% \postgresql\postgresql-%PG_MAJOR_VERSION %
30
+ gen_probackup_project.pl %BUILD_DIR% \postgresql\postgresql-%PGVER %
31
31
32
32
MKDIR %BIN_DIR% || GOTO :ERROR
33
- MKDIR %BIN_DIR% \bin || GOTO :ERROR
34
33
35
34
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
38
37
copy %DEPENDENCIES_BIN_DIR% \zlib\lib\zlib1.dll %BIN_DIR% || GOTO :ERROR
39
38
copy %DEPENDENCIES_BIN_DIR% \openssl\lib\libeay32.dll %BIN_DIR% || GOTO :ERROR
40
39
copy %DEPENDENCIES_BIN_DIR% \openssl\lib\ssleay32.dll %BIN_DIR% || GOTO :ERROR
You can’t perform that action at this time.
0 commit comments