Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#12885 closed defect (fixed)

parse_environment chokes on empty variables

Reported by: afb@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 1.6
Component: base Version: 1.6.0
Keywords: Cc:


Setting any *.env variable to the empty string () makes port silently lose all following variables...

Example from the qt3-mac port:

build.env       QMAKESPEC='' QTDIR='' DYLD_LIBRARY_PATH="${worksrcpath}/lib"

This results in the following:

DEBUG: Environment:

That is: zero variables, instead of three (whereof two being the empty string).

Attachments (1)

macports-parse_environment.patch (626 bytes) - added by afb@… 12 years ago.

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by afb@…


comment:1 Changed 12 years ago by afb@…

This bug caused #11895 too.

comment:2 Changed 12 years ago by afb@…

Resolution: fixed
Status: newclosed

Closed in r30273.

comment:3 Changed 12 years ago by jmpp@…

Milestone: MacPorts base bugs

comment:4 Changed 11 years ago by tobypeterson

Milestone: MacPorts base bugsMacPorts Future

Milestone MacPorts base bugs deleted

comment:5 Changed 10 years ago by jmroot (Joshua Root)

Milestone: MacPorts FutureMacPorts 1.6
Note: See TracTickets for help on using tickets.