Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Aug 1995 18:50:49 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        dfr@render.com, wosch@cs.tu-berlin.de
Cc:        current@freebsd.org, wollman@halloran-eldar.lcs.mit.edu
Subject:   Re: make(1) extension for SHELL COMMANDS
Message-ID:  <199508150850.SAA21739@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> 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().

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508150850.SAA21739>