@@ -448,8 +448,8 @@ ifeq ($(enable_tap_tests),yes)
448
448
449
449
ifndef PGXS
450
450
define prove_installcheck
451
- rm -rf '$(CURDIR ) '/tmp_check
452
- $(MKDIR_P ) '$(CURDIR ) '/tmp_check
451
+ rm -rf '$(CURDIR ) '/tmp_check && \
452
+ $(MKDIR_P ) '$(CURDIR ) '/tmp_check && \
453
453
cd $(srcdir ) && \
454
454
TESTDIR='$(CURDIR ) ' PATH="$(bindir ) :$(CURDIR ) :$$PATH" \
455
455
PGPORT='6$(DEF_PGPORT ) ' top_builddir='$(CURDIR ) /$(top_builddir ) ' \
@@ -458,8 +458,8 @@ cd $(srcdir) && \
458
458
endef
459
459
else # PGXS case
460
460
define prove_installcheck
461
- rm -rf '$(CURDIR ) '/tmp_check
462
- $(MKDIR_P ) '$(CURDIR ) '/tmp_check
461
+ rm -rf '$(CURDIR ) '/tmp_check && \
462
+ $(MKDIR_P ) '$(CURDIR ) '/tmp_check && \
463
463
cd $(srcdir ) && \
464
464
TESTDIR='$(CURDIR ) ' PATH="$(bindir ) :$(CURDIR ) :$$PATH" \
465
465
PGPORT='6$(DEF_PGPORT ) ' top_builddir='$(top_builddir ) ' \
@@ -469,8 +469,8 @@ endef
469
469
endif # PGXS
470
470
471
471
define prove_check
472
- rm -rf '$(CURDIR ) '/tmp_check
473
- $(MKDIR_P ) '$(CURDIR ) '/tmp_check
472
+ rm -rf '$(CURDIR ) '/tmp_check && \
473
+ $(MKDIR_P ) '$(CURDIR ) '/tmp_check && \
474
474
cd $(srcdir ) && \
475
475
TESTDIR='$(CURDIR ) ' $(with_temp_install ) PGPORT='6$(DEF_PGPORT ) ' \
476
476
PG_REGRESS='$(CURDIR ) /$(top_builddir ) /src/test/regress/pg_regress' \
0 commit comments