Follow-up Comment #2, bug #52912 (project make): Hmm. When you say "I think that your use-case is going to cause lots of other problems", I'm not sure whether you're referring to the make build model per se or the greater universe of makefiles. I'm aware that .ONESHELL has certain pitfalls in the greater universe (I contributed the feature originally, after all :-) but this is the only problem it causes in making make, at least on Linux.
And wrt "convince make that your shell IS a POSIX shell (if indeed it is)": "my shell" is just a wrapper which accepts the usual -c, -e, -x flags, adds its own value, and passes the command string along to /bin/sh. So yes it's a POSIX shell in all but name but I don't think renaming it "bash" or "dash" would be appropriate. Since .ONESHELL currently has no defined prerequisites, possibly they could be used to extend the set of POSIX shells? E.g. # make --eval=".ONESHELL:<myshell>" SHELL=<myshell> This isn't a real problem for me, I just thought I'd report it. No complaint if it has to be closed as unfixable. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?52912> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make