[Scons-dev] How to get variables passed to Env(variables = whatever)?

Left Right olegsivokon at gmail.com
Fri Oct 5 12:13:44 EDT 2012


Nope, it doesn't. It was a typo, in the original code it was
Environment, not Env.
I can, however, do it like so:

env = Environment(ENV = { 'foo' : 42 })
env['ENV']['foo'] <--- this works then

But was curious of the reason why not allow to do it via Variables?

Thanks.

Oleg


More information about the Scons-dev mailing list