summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2020-06-12 17:33:23 +0000
committerrillig <rillig@pkgsrc.org>2020-06-12 17:33:23 +0000
commitd0ac19f7d303c965d5d83dbb388646be68d1ee71 (patch)
tree1f8f3e3b13c6fbef2b7142fe7224d926191de157 /mk
parentd9127a75294fbb2786d0cf17f8c46edf6c348442 (diff)
downloadpkgsrc-d0ac19f7d303c965d5d83dbb388646be68d1ee71.tar.gz
mk/build/build.mk: use SH for the shell in build-env
Providing a realistic build environment has priority over having a convenient shell with auto-completion and all the likes.
Diffstat (limited to 'mk')
-rw-r--r--mk/build/build.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/build/build.mk b/mk/build/build.mk
index 291e01c9af1..aba7c5d1bec 100644
--- a/mk/build/build.mk
+++ b/mk/build/build.mk
@@ -1,4 +1,4 @@
-# $NetBSD: build.mk,v 1.33 2020/04/25 21:36:17 rillig Exp $
+# $NetBSD: build.mk,v 1.34 2020/06/12 17:33:23 rillig Exp $
#
# This file defines what happens in the build phase, excluding the
# self-test, which is defined in test.mk.
@@ -202,11 +202,11 @@ post-build:
# BUILD_ENV_SHELL
# The shell to start.
#
-# Default: ${SHELL}, fallback ${SH}
+# Default: ${SH}, to realistically match the build environment.
#
# Keywords: debug build
-BUILD_ENV_SHELL?= ${SHELL:U${SH}}
+BUILD_ENV_SHELL?= ${SH}
build-env: .PHONY ${_PKGSRC_BARRIER:Ubarrier:D_build-env}
_build-env: .PHONY configure
@${STEP_MSG} "Entering the build environment for ${PKGNAME}"