Skip to content

Commit 26eaf1f

Browse files
committed
Fix build in separate builddir
1 parent 0a46d10 commit 26eaf1f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/pgpro-upgrade/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ include $(top_builddir)/src/Makefile.global
1414
srcdir=$(top_srcdir)/$(subdir)
1515

1616
all:
17-
$(PERL) setver.pl $(top_srcdir) $(top_builddir)
17+
$(PERL) $(srcdir)/setver.pl $(top_srcdir) $(top_builddir)
1818
chmod 0755 pgpro_upgrade
1919

20-
install: installdirs
21-
$(INSTALL_PROGRAM) $(srcdir)/pgpro_upgrade '$(DESTDIR)$(bindir)/pgpro_upgrade'
20+
install: installdirs
21+
$(INSTALL_PROGRAM) pgpro_upgrade '$(DESTDIR)$(bindir)/pgpro_upgrade'
2222
$(INSTALL_DATA) $(srcdir)/*.sql $(srcdir)/*.test '$(DESTDIR)$(datadir)/pgpro-upgrade'
2323
installdirs:
2424
$(MKDIR_P) '$(DESTDIR)$(bindir)'

src/pgpro-upgrade/pgpro_upgrade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ case "$PGBIN" in
2828
esac
2929

3030
# Check the catalog version
31-
CATALOG_VERSION_NO=2016081311
31+
CATALOG_VERSION_NO=2016081315
3232
MAJORVER=9.6
3333
CATVER=`${PGBIN}pg_controldata|sed -n '/Catalog version number:/s/^.*: *//p'`
3434
if [ "$CATVER" != $CATALOG_VERSION_NO ]; then

0 commit comments

Comments
 (0)