Opened 13 years ago

Last modified 12 years ago

#33629 new enhancement

port -e, environment mode — at Initial Version

Reported by: pixilla (Bradley Giesbrecht) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.0.4
Keywords: haspatch Cc:
Port:

Description

Add a new port short arg "e" to print env info useful for support.

$ port -e version
prefix: /opt/local
portdbpath: /opt/local/var/macports
applications_dir: /Applications/MacPorts
frameworks_dir: /opt/local/Library/Frameworks
sources_conf: /opt/local/etc/macports/sources.conf
variants_conf: /opt/local/etc/macports/variants.conf
universal_archs: x86_64 i386
sources_conf: file:///Users/foo/misc/bitbucket/bar/macports/dports nosync
sources_conf: file:///Users/foo/misc/macports/users/bar/dports nosync
sources_conf: file:///opt/local/var/macports/sources/svn.macports.org/trunk/dports default
variants_conf: +bash_completion
PATH: /opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
Version: 2.0.99

Change History (1)

Changed 13 years ago by pixilla (Bradley Giesbrecht)

Attachment: patch-port-option-e.diff added
Note: See TracTickets for help on using tickets.