summaryrefslogtreecommitdiff
path: root/buildscripts/scons.py
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2017-03-24 13:30:19 -0400
committerAndrew Morrow <acm@mongodb.com>2017-03-28 18:24:01 -0400
commitfcb329a2f4c4db8a23ff54806ced5ef55e841d24 (patch)
tree64d997e1a9c60d11ce9d037fc34bc49a0f81bdd4 /buildscripts/scons.py
parent399ba02faf7124d4b4c52f8b7e91f5aeb307ee1b (diff)
downloadmongo-fcb329a2f4c4db8a23ff54806ced5ef55e841d24.tar.gz
SERVER-28475 Require SCons 2.5 and Python 2.7
Also, a drive by for making the search path for SCons in buildscripts/scons.py absolute, obviating the need to explicitly load the "install" tool. This is effectively a partial revert of the changes made for SERVER-28497.
Diffstat (limited to 'buildscripts/scons.py')
-rwxr-xr-xbuildscripts/scons.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildscripts/scons.py b/buildscripts/scons.py
index efd7a31d074..b0b9cfa834e 100755
--- a/buildscripts/scons.py
+++ b/buildscripts/scons.py
@@ -7,7 +7,7 @@ import sys
SCONS_VERSION = os.environ.get('SCONS_VERSION', "2.5.0")
-mongodb_root = os.path.dirname(os.path.dirname(__file__))
+mongodb_root = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
scons_dir = os.path.join(mongodb_root, 'src', 'third_party','scons-' + SCONS_VERSION,
'scons-local-' + SCONS_VERSION)