echo ports env vars

Joshua Root jmr at
Sat May 30 07:27:10 PDT 2009

On 2009-5-30 23:57, Bradley Giesbrecht wrote:
> Is there a port function to echo env vars?

Tcl makes the environment available as an array called env. So the
environment variable FOO can be accessed as $env(FOO).

- Josh

More information about the macports-users mailing list