[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #57022] Error 127 executing a script with no #!
From: |
anonymous |
Subject: |
[bug #57022] Error 127 executing a script with no #! |
Date: |
Wed, 9 Oct 2019 10:40:24 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko |
Follow-up Comment #1, bug #57022 (project make):
I add that if the Makefile contains the line
SHELL = /bin/bash
the behaviour of make-4.2.92 is iaw make-4.2.1 (that is the bug does not show
up).
This is perhaps not enough explicit in the original bug report.
In other words, to be able to run your Makefile under make-4.2.92, you have
three options:
- recompile with --disable-posix-spawn (which is not the default)
- add an appropriate 1st line to your scripts that don't start with #!
- add "SHELL = /bin/bash" as 1st line to your Makefile
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57022>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/