Bugfix for http://aosp/2319430 in subninjas
http://aosp/2319309 "Prework for --experimentalEnvvar" added the
cmdEnviron_ member to every Scope. But the simple path only
initialized it to NULL. While `subninja chdir` was correct,
the more generic `subninja` (not a chdir) would get a NULL
cmdEnviron_ leading to it omitting any `envvar` statements.
This fixes the case where:
1. build.ninja with a "subninja chdir foo" *and* "envvar"
2. foo/build.ninja with a "subninja bar/build.ninja"
3. foo/bar/build.ninja builds something that depends on "envvar"
Change-Id: Ie260ea5c728bcd07b5251c322084e52382819f0a
1 file changed