bug-make
[Top][All Lists]
Advanced

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

[bug #50823] MAKEFILE_LIST contains wrong file name if file name contain


From: anonymous
Subject: [bug #50823] MAKEFILE_LIST contains wrong file name if file name contains dollar character
Date: Tue, 18 Apr 2017 04:16:03 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0

URL:
  <http://savannah.gnu.org/bugs/?50823>

                 Summary: MAKEFILE_LIST contains wrong file name if file name
contains dollar character
                 Project: make
            Submitted by: None
            Submitted on: Tue 18 Apr 2017 08:16:02 AM UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.2.1
        Operating System: POSIX-Based
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

To reproduce:

$ echo -e 'all:\n\techo $(value MAKEFILE_LIST)' > /tmp/foo\$bar.mk
$ ./make -f '/tmp/foo$bar.mk'
echo  /tmp/fooar.mk
/tmp/fooar.mk

I think this is inconsistent and contradicts the documentation, which states
"MAKEFILE_LIST Contains the name of each makefile that is parsed by make, in
the order in which it was parsed."

See also http://stackoverflow.com/q/43466130/2965738




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50823>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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