Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit244b494

Browse files
committed
Some changes for building pg_probackup: remove goto :ERROR in the script because there are no pg_probackup in some branches
1 parente997a31 commit244b494

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎build/helpers/postgres.cmd

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ IF %ARCH% == X64 SET PERL5LIB=%PERL64_PATH%\lib;src\tools\msvc
9191

9292
%PERL_EXE% src\tools\msvc\build.pl||GOTO :ERROR
9393

94-
%PERL_EXE% contrib\pg_probackup\gen_probackup_project.pl||GOTO :ERROR
95-
94+
IFEXIST contrib\pg_probackup\gen_probackup_project.pl%PERL_EXE% contrib\pg_probackup\gen_probackup_project.pl||GOTO :ERROR
9695

9796
rm -rf%BUILD_DIR%\distr_%ARCH%_%PGVER%\postgresql
9897
MKDIR%BUILD_DIR%\distr_%ARCH%_%PGVER%\postgresql
@@ -121,7 +120,7 @@ SET DEPENDENCIES_BIN_DIR=%DEPENDENCIES_BIN_DIR:\=/%
121120
SETPRO_BACKUP=%BUILD_DIR%\postgresql\*%PGVER%*\Release\pg_probackup\pg_probackup.exe
122121
SETPRO_BACKUP=%PRO_BACKUP:\=/%
123122

124-
cp -va%PRO_BACKUP%%BUILD_DIR%\distr_%ARCH%_%PGVER%\postgresql\bin||GOTO :ERROR
123+
cp -va%PRO_BACKUP%%BUILD_DIR%\distr_%ARCH%_%PGVER%\postgresql\bin
125124

126125
cp -va%DEPENDENCIES_BIN_DIR%/libintl/lib/*.dll%BUILD_DIR%\distr_%ARCH%_%PGVER%\postgresql\bin||GOTO :ERROR
127126
cp -va%DEPENDENCIES_BIN_DIR%/libintl/lib/*.lib%BUILD_DIR%\distr_%ARCH%_%PGVER%\postgresql\lib||GOTO :ERROR

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp