Skip to content

Commit 1846202

Browse files
committed
Fix [install]check in interfaces/libpq/Makefile
The common recipe when TAP tests are disabled doesn't work, because the libpq-specific recipe wants to define the PATH environment variable, so the starting '@' is misinterpreted as part of the command instead of silencing said command. Fix by setting the environment variable in a way that doesn't interfere with the recipe. Reported-by: Justin Pryzby <pryzby@telsasoft.com> Discussion: https://postgr.es/m/20220720172321.GL12702@telsasoft.com
1 parent c2fa113 commit 1846202

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/interfaces/libpq/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,13 @@ install: all installdirs install-lib
143143
test-build:
144144
$(MAKE) -C test all
145145

146+
check installcheck: export PATH := $(CURDIR)/test:$(PATH)
147+
146148
check: test-build all
147-
PATH="$(CURDIR)/test:$$PATH" && $(prove_check)
149+
$(prove_check)
148150

149151
installcheck: test-build all
150-
PATH="$(CURDIR)/test:$$PATH" && $(prove_installcheck)
152+
$(prove_installcheck)
151153

152154
installdirs: installdirs-lib
153155
$(MKDIR_P) '$(DESTDIR)$(includedir)' '$(DESTDIR)$(includedir_internal)' '$(DESTDIR)$(datadir)'

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy