diff options
author | Mike Dirolf <mike@10gen.com> | 2010-07-28 10:57:31 -0400 |
---|---|---|
committer | Mike Dirolf <mike@10gen.com> | 2010-07-28 10:57:31 -0400 |
commit | 5eb93a30e6066a6ffbf417f734771c7996db0928 (patch) | |
tree | 970d223e96354839c6464e85aad6bf0e5822332e /SConstruct | |
parent | cdc48b26f1cf7ecb50c01e0bcc91b916cc2ce54a (diff) | |
download | mongo-5eb93a30e6066a6ffbf417f734771c7996db0928.tar.gz |
add --extrapath to client build
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index dc1ee6bfe6b..79d99eeefb0 100644 --- a/SConstruct +++ b/SConstruct @@ -1655,7 +1655,10 @@ if installDir[-1] != "/": def build_and_test_client(env, target, source): from subprocess import call - call("scons", cwd=installDir) + if GetOption("extrapath") is not None: + call("scons --extrapath=%s" % GetOption("extrapath"), cwd=installDir) + else: + call("scons", cwd=installDir) return bool(call(["python", "buildscripts/smoke.py", "--test-path", installDir, "smokeClient"])) env.Alias("clientBuild", [mongod, installDir], [build_and_test_client]) |