aboutsummaryrefslogtreecommitdiff
path: root/contrib/bmake/mk/sys.mk
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bmake/mk/sys.mk')
-rw-r--r--contrib/bmake/mk/sys.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/bmake/mk/sys.mk b/contrib/bmake/mk/sys.mk
index b21dfa8b4ebf..7ef8f724ef10 100644
--- a/contrib/bmake/mk/sys.mk
+++ b/contrib/bmake/mk/sys.mk
@@ -1,4 +1,4 @@
-# $Id: sys.mk,v 1.51 2020/08/19 17:51:53 sjg Exp $
+# $Id: sys.mk,v 1.52 2020/12/22 20:44:24 sjg Exp $
#
# @(#) Copyright (c) 2003-2009, Simon J. Gerraty
#
@@ -118,8 +118,8 @@ ROOT_GROUP != sed -n /:0:/s/:.*//p /etc/group
unix ?= We run ${_HOST_OSNAME}.
# We need a Bourne/POSIX shell
-MAKE_SHELL ?= sh
-SHELL ?= ${MAKE_SHELL}
+MAKE_SHELL ?= ${.SHELL:Ush}
+SHELL := ${MAKE_SHELL}
# A race condition in mkdir, means that it can bail if another
# process made a dir that mkdir expected to.