diff options
author | Richard Kreuter <richard@10gen.com> | 2010-05-28 15:12:41 -0400 |
---|---|---|
committer | Richard Kreuter <richard@10gen.com> | 2010-05-28 15:14:43 -0400 |
commit | c9f99b7ef1079e5f2225878f451c9dadcdb6c38f (patch) | |
tree | 4e4c08cfe99d99880310f7654ec306af91477f51 /buildscripts | |
parent | 9153da3c9f9c588dc7dd3877c83ac5f69fe8b460 (diff) | |
download | mongo-c9f99b7ef1079e5f2225878f451c9dadcdb6c38f.tar.gz |
Tweak makedist.py to be more careful about git checkouts.
Diffstat (limited to 'buildscripts')
-rw-r--r-- | buildscripts/makedist.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildscripts/makedist.py b/buildscripts/makedist.py index f78f5a813f3..ab70561a9ca 100644 --- a/buildscripts/makedist.py +++ b/buildscripts/makedist.py @@ -642,7 +642,7 @@ class ScriptFile(object): specs=self.mongo_version_spec.split(',') for spec in specs: (version, pkg_name_suffix, pkg_version) = parse_mongo_version_spec(spec) - mongo_version = version if version[0] != 'n' else 'HEAD' + mongo_version = version if version[0] != 'n' else ('HEAD' if version == 'nlatest' else 'r'+version[1:]) #'HEAD' mongo_pub_version = version.lstrip('n') if version[0] in 'n' else 'latest' pkg_name_suffix = pkg_name_suffix if pkg_name_suffix else '' pkg_version = pkg_version |