Opened 10 years ago

Closed 10 years ago

Last modified 8 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@… 10 years ago.
macports-parse_environment.patch

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by afb@…

macports-parse_environment.patch

comment:1 Changed 10 years ago by afb@…

This bug caused #11895 too.

comment:2 Changed 10 years ago by afb@…

  • Resolution set to fixed
  • Status changed from new to closed

Closed in r30273.

comment:3 Changed 10 years ago by jmpp@…

  • Milestone set to MacPorts base bugs

comment:4 Changed 9 years ago by tobypeterson

  • Milestone changed from MacPorts base bugs to MacPorts Future

Milestone MacPorts base bugs deleted

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

  • Milestone changed from MacPorts Future to MacPorts 1.6
Note: See TracTickets for help on using tickets.