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

Skip to content

Commit fc0b9e7

Browse files
committed
fix path in tar command
1 parent 62e827f commit fc0b9e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/helpers/postgres.cmd

+2-2
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ if "%PRODUCT_NAME%" == "PostgresProEnterprise" (
132132
if not EXIST pg_repack-%PG_REPACK_VER%.tar.bz2 (
133133
%WGET% %PG_REPACK_URL% || goto :ERROR
134134
)
135-
CD /D %BUILDDIR%
136-
tar xf %DOWNLOADS_DIR%/pg_repack*.tar.bz2 || goto :ERROR
135+
tar -cf pg_repack-%PG_REPACK_VER%.tar.bz2 -C %BUILD_UDIR%\postgresql || goto :ERROR
136+
CD /D %BUILD_DIR%\postgresql
137137
CD pg_repack-%PG_REPACK_VER%
138138
perl win32build.pl %BUILD_DIR%\distr_%ARCH%_%PGVER%\postgresql
139139
)

0 commit comments

Comments
 (0)