From owner-freebsd-current Tue Aug 15 02:24:47 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id CAA01395 for current-outgoing; Tue, 15 Aug 1995 02:24:47 -0700 Received: from minnow.render.com (render.demon.co.uk [158.152.30.118]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id CAA01388 for ; Tue, 15 Aug 1995 02:24:39 -0700 Received: (from dfr@localhost) by minnow.render.com (8.6.9/8.6.9) id KAA27876; Tue, 15 Aug 1995 10:26:46 +0100 Date: Tue, 15 Aug 1995 10:26:43 +0100 (BST) From: Doug Rabson To: Bruce Evans cc: wosch@cs.tu-berlin.de, current@freebsd.org, wollman@halloran-eldar.lcs.mit.edu Subject: Re: make(1) extension for SHELL COMMANDS In-Reply-To: <199508150850.SAA21739@godzilla.zeta.org.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: current-owner@freebsd.org Precedence: bulk On Tue, 15 Aug 1995, Bruce Evans wrote: > >> FYI: GNU-make use a similar algorithm > >> (first exec and if errno=ENOEXEC SHELL). > > >I think this is just to allow it to execute 'unlabeled' shell scripts, > >i.e. executable files without the #!/bin/sh comment. > > execvp() should already do this, but some systems (Linux :-) have a buggy > execvp(). The point being that it has nothing to do with the argument about make interpreting shell metacharacters. -- Doug Rabson, Microsoft RenderMorphics Ltd. Mail: dfr@render.com Phone: +44 171 251 4411 FAX: +44 171 251 0939