Wait to set BUILD_DIR until *after* env is copied.
--HG-- extra : convert_revision : 03153e7aaa1fb2a435900eab08a98ec1a6ce62db
This commit is contained in:
parent
b96631e1a0
commit
476a2ee950
1 changed files with 3 additions and 2 deletions
|
@ -698,13 +698,14 @@ base_env = env
|
|||
|
||||
for build_path in build_paths:
|
||||
print "Building in", build_path
|
||||
|
||||
# Make a copy of the build-root environment to use for this config.
|
||||
env = base_env.Copy()
|
||||
env['BUILDDIR'] = build_path
|
||||
|
||||
# build_dir is the tail component of build path, and is used to
|
||||
# determine the build parameters (e.g., 'ALPHA_SE')
|
||||
(build_root, build_dir) = os.path.split(build_path)
|
||||
# Make a copy of the build-root environment to use for this config.
|
||||
env = base_env.Copy()
|
||||
|
||||
# Set env options according to the build directory config.
|
||||
sticky_opts.files = []
|
||||
|
|
Loading…
Reference in a new issue