brettviren/worch — pull request #44 by sbinet (2013-12-16 17:53:22+00:00)
Title: envmunge: honor ctx.env.env and pass it down to mungers.apply

if a ``wscript`` or a task carefully crafts a ``ctx.env.env`` environment, this is dropped on the floor and the worch tasks (and ``wafutil.exec_command``) won't pick it up.

this patch tries to properly honor ``ctx.env.env`` and falls back on ``os.environ`` otherwise.