summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorMathew Robinson <mathew@chasinglogic.io>2020-02-27 08:47:46 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-03-05 18:18:39 +0000
commite41686f5454eb1be76f7dda616ad09c20aff52a2 (patch)
tree4e313b2129c6847e15d72a9dfade057e6a3a3665 /SConstruct
parent45341f946b829b87ec11567dc2b897af74bc9e07 (diff)
downloadmongo-e41686f5454eb1be76f7dda616ad09c20aff52a2.tar.gz
SERVER-45785 Make PREFIX, PREFIX_*DIR, and DESTDIR work more like regular SCons expansions
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index a3502907dac..df1867e8b25 100644
--- a/SConstruct
+++ b/SConstruct
@@ -4453,7 +4453,7 @@ if has_option("cache"):
addNoCacheEmitter(env['BUILDERS']['LoadableModule'])
-resmoke_install_dir = env.subst("$PREFIX_BINDIR") if get_option("install-mode") == "hygienic" else env.Dir("#").abspath
+resmoke_install_dir = env.subst("$DESTDIR/$PREFIX_BINDIR") if get_option("install-mode") == "hygienic" else env.Dir("#").abspath
resmoke_install_dir = os.path.normpath(resmoke_install_dir).replace("\\", r"\\")
# Much blood sweat and tears were shed getting to this point. Any version of