[Top][All Lists]

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

[bug #28230] $(eval) does not understand multiline

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


                 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



# cat script.sh
#!/bin/sh -e

echo "a = 1"
echo "b = 2"

# cat Makefile
$(eval $(shell ./script.sh))
$(info $(a))
$(info $(b))

# 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:


  Message sent via/by Savannah

reply via email to

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