0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 17:10:48 +01:00

Fix BUILDBOT-185 by checking env['MONGO_MODULES'] and adding it to the build name

This commit is contained in:
Randall Hunt 2012-09-18 19:10:54 -04:00
parent bde4065f5a
commit 563d64e6f8

View File

@ -927,7 +927,6 @@ env.Alias( "style" , [] , [ doStyling ] )
env.AlwaysBuild( "style" )
# ---- INSTALL -------
def getSystemInstallName():
@ -936,19 +935,21 @@ def getSystemInstallName():
n += "-static"
if has_option("nostrip"):
n += "-debugsymbols"
if nix and os.uname()[2].startswith( "8." ):
if nix and os.uname()[2].startswith("8."):
n += "-tiger"
if len(env.get("MONGO_MODULES", None)):
n += "-" + "-".join(env["MONGO_MODULES"].keys())
try:
findSettingsSetup()
import settings
if "distmod" in dir( settings ):
n = n + "-" + str( settings.distmod )
if "distmod" in dir(settings):
n = n + "-" + str(settings.distmod)
except:
pass
dn = GetOption( "distmod" )
dn = GetOption("distmod")
if dn and len(dn) > 0:
n = n + "-" + dn