aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test/regress/GNUmakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/regress/GNUmakefile b/src/test/regress/GNUmakefile
index f2319d2a79b..d126ae5fa40 100644
--- a/src/test/regress/GNUmakefile
+++ b/src/test/regress/GNUmakefile
@@ -95,8 +95,8 @@ ifneq ($(PORTNAME),win32)
abs_srcdir := $(shell cd $(srcdir) && pwd)
abs_builddir := $(shell pwd)
else
-abs_srcdir := $(shell cd $(srcdir) && pwd -W)
-abs_builddir := $(shell pwd -W)
+abs_srcdir := $(shell cd $(srcdir) && sh -c "pwd -W")
+abs_builddir := $(shell sh -c "pwd -W")
endif
testtablespace := $(abs_builddir)/testtablespace