New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #12885 (closed defect: fixed)

Opened 4 years ago

Last modified 2 years ago

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

macports-parse_environment.patch Download (0.6 KB) - added by afb@… 4 years ago.
macports-parse_environment.patch

Change History

Changed 4 years ago by afb@…

macports-parse_environment.patch

Changed 4 years ago by afb@…

This bug caused #11895 too.

Changed 4 years ago by afb@…

  • status changed from new to closed
  • resolution set to fixed

Closed in r30273.

Changed 4 years ago by jmpp@…

  • milestone set to MacPorts base bugs

Changed 3 years ago by toby@…

  • milestone changed from MacPorts base bugs to MacPorts Future

Milestone MacPorts base bugs deleted

Changed 2 years ago by jmr@…

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