Fri Jun 12 17:33:24 2020 UTC ()
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.


(rillig)
diff -r1.33 -r1.34 pkgsrc/mk/build/build.mk

cvs diff -r1.33 -r1.34 pkgsrc/mk/build/build.mk (expand / switch to context diff)
--- pkgsrc/mk/build/build.mk 2020/04/25 21:36:17 1.33
+++ pkgsrc/mk/build/build.mk 2020/06/12 17:33:23 1.34
@@ -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 @@
 # 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}"