diff options
author | Dan Crosta <dcrosta@10gen.com> | 2012-07-05 11:54:01 -0400 |
---|---|---|
committer | Dan Crosta <dcrosta@10gen.com> | 2012-07-06 16:08:39 -0400 |
commit | 09c5aff0fe4bfb0c9c3752df720e1cc3c10a23e4 (patch) | |
tree | ca683da21964a8574ea97e12af65c1e48cc37f60 /SConscript.buildinfo | |
parent | b4c6a9a7c259e704093e275f2a5bb512835cb81b (diff) | |
download | mongo-09c5aff0fe4bfb0c9c3752df720e1cc3c10a23e4.tar.gz |
discover and configure modules in db/modules/
Diffstat (limited to 'SConscript.buildinfo')
-rw-r--r-- | SConscript.buildinfo | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/SConscript.buildinfo b/SConscript.buildinfo index 3853adf2ba5..e366e7bd5da 100644 --- a/SConscript.buildinfo +++ b/SConscript.buildinfo @@ -31,7 +31,11 @@ namespace mongo { ''' def generate_buildinfo(env, target, source, **kw): - contents = str(source[0]) % dict(git_version=buildscripts.utils.getGitVersion(), + git_version = buildscripts.utils.getGitVersion() + if env["MONGO_MODULES"]: + git_version += " modules: %s" % (", ".join(env["MONGO_MODULES"].keys())) + + contents = str(source[0]) % dict(git_version=git_version, sys_info=getSysInfo()) out = open(str(target[0]), 'wb') try: |