At 7:27 PM +0200 12/1/05, Ruslan Ermilov wrote:
On Thu, Dec 01, 2005 at 05:08:56PM +0000, Warner Losh wrote:
imp 2005-12-01 17:08:56 UTC
FreeBSD src repository
Modified files:
. Makefile.inc1
Log:
> 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.
Please consider backing it out. In this case, we want to hard code
it to "sh" since the stock ~root/.cshrc always resets $PATH, which
breaks "make buildenv" for root (which most of us use).
Testcase: "which cc" from under "make buildenv" shell.
Hmm. How about:
BUILDENVSHELL?=sh
buildenv:
@echo Entering world for ${TARGET_ARCH}:${TARGET}
@cd ${.CURDIR} && env ${WMAKEENV} ${BUILDENVSHELL} || true
--
Garance Alistair Drosehn = [EMAIL PROTECTED]
Senior Systems Programmer or [EMAIL PROTECTED]
Rensselaer Polytechnic Institute; Troy, NY; USA
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"