echo ports env vars

2009-05-30 Thread Bradley Giesbrecht
Is there a port function to echo env vars? //Brad ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Re: echo ports env vars

2009-05-30 Thread Joshua Root
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 ___ macports-users mailing list

Re: echo ports env vars

2009-05-30 Thread Joshua Root
On 2009-5-31 06:56, Bradley Giesbrecht wrote: On May 30, 2009, at 8:06 AM, Joshua Root wrote: On 2009-5-31 00:36, Bradley Giesbrecht wrote: Why do you need such a command? To know what $env has to offer when building a Portfile. What do you plan to do with that information? I'm having a