Follow-up Comment #4, bug #59154 (project make):

"Newlines in variable expansions are treated as real newlines in the rule."

Well, yes, of course.  What I didn't expect is for the command to be truncated
at the first newline.  The shell script

BLAH="hi
there"
export BLAH

echo "$BLAH"

properly echoes out both lines of BLAH... yet a Makefile with the same line it
it fails.  But only in Gnu make; in BSD make, it works.  I fail to understand
how this could be by design.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59154>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply via email to