From 5eb93a30e6066a6ffbf417f734771c7996db0928 Mon Sep 17 00:00:00 2001 From: Mike Dirolf Date: Wed, 28 Jul 2010 10:57:31 -0400 Subject: [PATCH] add --extrapath to client build --- SConstruct | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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])