|
From: | Stepan Koltsov |
Subject: | [bug #28230] $(eval) does not understand multiline |
Date: | Tue, 08 Dec 2009 18:53:48 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9 |
URL: <http://savannah.gnu.org/bugs/?28230> Summary: $(eval) does not understand multiline Project: make Submitted by: yozh Submitted on: Tue 08 Dec 2009 06:53:47 PM GMT Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Component Version: None Operating System: None Fixed Release: None Triage Status: None _______________________________________________________ Details: ==== # cat script.sh #!/bin/sh -e echo "a = 1" echo "b = 2" # cat Makefile $(eval $(shell ./script.sh)) $(info $(a)) $(info $(b)) xx: # gmake 1 b = 2 gmake: Nothing to be done for `xx'. ==== "1 b = 2\n\n" is printed. "1\n2\b" expected. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?28230> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |