Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ihnp4!houxm!mtuxo!mtune!codas!cpsc6a!rtech!daveb From: daveb@rtech.UUCP Newsgroups: comp.unix.wizards Subject: Re: "make" SHELL variable Message-ID: <688@rtech.UUCP> Date: Sun, 1-Mar-87 17:23:30 EST Article-I.D.: rtech.688 Posted: Sun Mar 1 17:23:30 1987 Date-Received: Tue, 3-Mar-87 20:45:27 EST References: <3953@brl-adm.ARPA> <2590002@hpisod2.HP> Reply-To: daveb@rtech.UUCP (Dave Brower) Organization: Relational Technology, Alameda CA Lines: 24 Summary: SV is at least consistant. Many people have complained about or been bitten by the SV make's importation of the SHELL variable. It certainly catches me by surprise once every six months or so. Therefore, I reluctantly say that this behaviour is _correct_, and that the wishes that it would ignore SHELL are _wrong_. If you need to have environment variables visible to make, the only reasonable thing to do is to take all of them. The interpretation rule is now clear: Command line > environment > Makefile > default Creating a list of exceptions would only encourage entropy. It has always been easy enough for me to put setenv SHELL /bin/sh in my .login to mollify make. -- It's hard to type with asbestos gloves. {amdahl, sun, mtxinu, cbosgd}!rtech!daveb