*BSD News Article 55420


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!yarrina.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!in1.uu.net!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: [Q] running make with /bin/sh
Date: 25 Nov 1995 10:13:53 GMT
Organization: Private BSD site, Dresden
Lines: 31
Message-ID: <496q91$37b@uriah.heep.sax.de>
References: <30B287C0.41C67EA6@adam.kaist.ac.kr> <DIG6Jn.Dz5@ritz.mordor.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

ritz@ritz.mordor.com (Chris Mauritz) writes:

> : It seems that make doesn't work with /bin/sh.  It invokes subshell with
> : options -ec, but /bin/sh does not recognize the option -c.  Is it a

j@uriah 345% /bin/sh -ec "id | wc"
       1      13     148

I dunno which broken shell you're using?

> : fault of /bin/sh?  And is there any way to run make with shells other
> : than csh?

Make shouldn't run with a csh at all (old Berkeley make's did it).

> As a matter of habit, I change all the SHELL=/bin/sh to
> SHELL=/bin/bash.

bash is at least as broken as ash (/bin/sh).  And it's fat. :)

Our /bin/sh is now almost up to Posix.  It's still a lank one though
(despite of this bloated line editing library).  Unlike bash, it
doesn't have the kitchen-sink built in, and you cannot fry eggs or
cook coffee with it. ;-)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)