Bug 573722 - set IS_NIGHTLY env var for nightly builds - r=bear
authorChris Cooper <ccooper@deadsquid.com>
Fri, 18 May 2012 11:14:24 -0400
changeset 2344 67b4eea6c8953cec9314e7685ae85d6fdbcbca19
parent 2343 d347dc3f1eb47e120a22f3613a254bf4dbe1e8bd
child 2345 015f6674ce1a77c73daa2a47f332289e44ad5144
push id1776
push usercoop@mozilla.com
push dateFri, 18 May 2012 15:14:30 +0000
reviewersbear
bugs573722
Bug 573722 - set IS_NIGHTLY env var for nightly builds - r=bear
misc.py
--- a/misc.py
+++ b/misc.py
@@ -1264,18 +1264,21 @@ def generateBranchObjects(config, name, 
                 nightly_pgo = True
                 nightlyUnittestBranch = pgoUnittestBranch
                 if 'pgo_platform' in pf:
                     slaves = config['platforms'][pf['pgo_platform']]['slaves']
             else:
                 nightlyUnittestBranch = unittestBranch
                 nightly_pgo = False
 
+            nightly_env=platform_env.copy()
+            nightly_env['IS_NIGHTLY'] = "yes"
+
             mozilla2_nightly_factory = NightlyBuildFactory(
-                env=platform_env,
+                env=nightly_env,
                 objdir=pf['platform_objdir'],
                 platform=platform,
                 hgHost=config['hghost'],
                 repoPath=config['repo_path'],
                 buildToolsRepoPath=config['build_tools_repo_path'],
                 configRepoPath=config['config_repo_path'],
                 configSubDir=config['config_subdir'],
                 profiledBuild=nightly_pgo,