(un)setting environment variables from a Portfile

René J.V. Bertin rjvbertin at gmail.com
Sun Jan 11 10:58:29 PST 2015


On Sunday January 11 2015 18:01:06 Gustaf Neumann wrote:

> > Is there a (Tcl) command one can use to set or unset variables at an appropriate point
> 
> set environment variable
>     set ::env(FOO) "some value"
> 
> unset environment variable
>     unset ::env(FOO)

Thanks :)

Is the namespace (?) separator required?

R.


More information about the macports-dev mailing list