[tlbuild] Missing exclamation mark in shebang

Manfred Lotz manfred at dante.de
Wed May 8 05:31:42 CEST 2019


On Tue, 7 May 2019 19:32:04 -0600
Karl Berry <karl at freefriends.org> wrote:

>      #/bin/sh
> 
> Thanks, I told Gerd. As it happens, the single exec line works under
> both csh and sh, I believe ... -k

I think it works with POSIX shells in general because without a shebang
they just assume /bin/sh.

A non POSIX shell like fish complains:

Failed to execute process './x.sh'. Reason:
exec: Exec format error
The file './x.sh' is marked as an executable but could not be run by
the operating system.


-- 
Manfred


More information about the tlbuild mailing list