summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-12-01 17:08:56 +0000
committerimp <imp@FreeBSD.org>2005-12-01 17:08:56 +0000
commit48ded2c4774f83a9584bbdef89aa1e1e00540f19 (patch)
treea667083bb047de98cd61462a9d9e60796ea574e7 /Makefile.inc1
parente5008afa832cf5707ae51c96b4a6eacf09e8f625 (diff)
downloadFreeBSD-src-48ded2c4774f83a9584bbdef89aa1e1e00540f19.zip
FreeBSD-src-48ded2c4774f83a9584bbdef89aa1e1e00540f19.tar.gz
In make buildenv, spell sh as ${SHELL}. In this case, we don't want
to hard code /bin/sh since we're forking it for the user to type commands into. As such, ${SHELL} is the preferred thing users type commands into.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc12
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 73478a6..8f140a6 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -470,7 +470,7 @@ buildworld: ${WMAKE_TGTS}
buildenv:
@echo Entering world for ${TARGET_ARCH}:${TARGET}
- @cd ${.CURDIR} && env ${WMAKEENV} sh || true
+ @cd ${.CURDIR} && env ${WMAKEENV} ${SHELL} || true
TOOLCHAIN_TGTS= ${WMAKE_TGTS:N_depend:Neverything:Nbuild32}
toolchain: ${TOOLCHAIN_TGTS}
OpenPOWER on IntegriCloud