[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #59154] Multiline environment variables handled poorly

From: anonymous
Subject: [bug #59154] Multiline environment variables handled poorly
Date: Tue, 22 Sep 2020 11:03:27 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36

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

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:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]