Skip to content

Commit 53ec506

Browse files
smartyherofanfuxiaoran
authored andcommitted
Avoid paths like // in build commands
解决构建debuginfo包时遇到的/usr/lib/rpm/debugedit: canonicalization unexpectedly shrank by one character问题
1 parent 2543258 commit 53ec506

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

contrib/perfmon/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ PG_CONFIG = pg_config
88
PGXS := $(shell $(PG_CONFIG) --pgxs)
99
include $(PGXS)
1010
else
11-
top_builddir = ../../
11+
top_builddir = ../..
1212
subdir = contrib/perfmon
1313
include $(top_builddir)/src/Makefile.global
1414
include $(top_srcdir)/contrib/contrib-global.mk

contrib/perfmon/src/gpmmon/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
top_builddir = ../../../../
1+
top_builddir = ../../../..
22

33
MODULE_big = gpmmon
44
OBJS = gpmmon.o gpmondb.o gpmon_agg.o ../common/gpmonlib.o

contrib/perfmon/src/gpmon/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
top_builddir = ../../../../
1+
top_builddir = ../../../..
22

33
MODULE_big = gpmon
44
OBJS = gpmon.o pg_query_state.o signal_handler.o

contrib/perfmon/src/gpsmon/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
top_builddir = ../../../../
1+
top_builddir = ../../../..
22

33
PG_CPPFLAGS = -I$(libpq_srcdir) -I../include -I. -Wno-error=vla -Wno-vla
44
ifdef USE_PGXS

0 commit comments

Comments
 (0)