summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorRichard Kreuter <richard@10gen.com>2010-05-28 15:12:41 -0400
committerRichard Kreuter <richard@10gen.com>2010-05-28 15:14:43 -0400
commitc9f99b7ef1079e5f2225878f451c9dadcdb6c38f (patch)
tree4e4c08cfe99d99880310f7654ec306af91477f51 /buildscripts
parent9153da3c9f9c588dc7dd3877c83ac5f69fe8b460 (diff)
downloadmongo-c9f99b7ef1079e5f2225878f451c9dadcdb6c38f.tar.gz
Tweak makedist.py to be more careful about git checkouts.
Diffstat (limited to 'buildscripts')
-rw-r--r--buildscripts/makedist.py2
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