Follow-up Comment #6, bug #44853 (project make):
Well, it would be possible to transform
$(SHELL) -c "very long command"
into
[write "very long command" to /tmp/long.sh]
$(SHELL) -c ". /tmp/long.sh"
so mucking around with .SHELLFLAGS is unnecessary.
The syntax for sourcing a script may vary (e.g. csh would use "source" rather
than "."), but a new variable could be provided to control that, like
.SHELLSOURCE = . $(.SHELLSCRIPT)
.SHELLSOURCE = source $(.SHELLSCRIPT)
Would this address your concerns?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44853>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make