From ac3a704abcb214df2e1178a3e3be1c0a0cf0013e Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Mon, 2 May 2016 12:38:17 +0000 Subject: [PATCH] Avoid overriding environment variables --- script/bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/bootstrap.py b/script/bootstrap.py index 4ad30f4cb13b..ab72b6a7dc58 100755 --- a/script/bootstrap.py +++ b/script/bootstrap.py @@ -153,7 +153,7 @@ def bootstrap_brightray(is_dev, url, target_arch, libcc_source_path, def update_node_modules(dirname, env=None): if env is None: - env = os.environ + env = os.environ.copy() if PLATFORM == 'linux': # Use prebuilt clang for building native modules. llvm_dir = os.path.join(SOURCE_ROOT, 'vendor', 'llvm-build',