From d53cdc6c43d50aa29ee3afd2701799c8b53cfc1b Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Thu, 1 Dec 2005 17:08:56 +0000 Subject: [PATCH] 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. --- Makefile.inc1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index 73478a6483d..8f140a6ff6d 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}