|
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 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/
[Prev in Thread] | Current Thread | [Next in Thread] |