Opened 17 years ago

Closed 17 years ago

Last modified 14 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:
Port:

Description

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@… 17 years ago.
macports-parse_environment.patch

Download all attachments as: .zip

Change History (6)

Changed 17 years ago by afb@…

macports-parse_environment.patch

comment:1 Changed 17 years ago by afb@…

This bug caused #11895 too.

comment:2 Changed 17 years ago by afb@…

Resolution: fixed
Status: newclosed

Closed in r30273.

comment:3 Changed 16 years ago by jmpp@…

Milestone: MacPorts base bugs

comment:4 Changed 15 years ago by tobypeterson

Milestone: MacPorts base bugsMacPorts Future

Milestone MacPorts base bugs deleted

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

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