[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 20:08:07 -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 #14, bug #59154 (project make):

[comment #10 comment #10:]
> GNU makefiles will allow the following makefile:
> cd foo && echo one
> cd foo && echo two
> endef
> all: ; $(SOMECOMMAND)
> to print both "one" and "two" when there is a subdirectory "foo" which is
> If the variable is passed to a single shell then it will print an error at
the second "cd".

Thanks for the example!  I looked briefly in tests/, but didn't immediately
see a regression test that verifies this behavior.  I imagine there is one.  
Anyway, so the task for the intrepid complainer would be to
support the BSD usage while not breaking the usage described
above.  If that's impossible, well, that's that.


Reply to this item at:


  Message sent via Savannah

reply via email to

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