From b653a1340e874cd379089ca3e9b293c2c0a12484 Mon Sep 17 00:00:00 2001 From: Mathew Robinson Date: Mon, 28 Oct 2019 15:26:32 +0000 Subject: SERVER-41094 Write compass installer to build directory --- src/mongo/SConscript | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/mongo/SConscript b/src/mongo/SConscript index 3ae639f83c7..16ef34b51c0 100644 --- a/src/mongo/SConscript +++ b/src/mongo/SConscript @@ -875,11 +875,15 @@ compass_python_interpreter = '/usr/bin/env python2' if env.TargetOSIs('darwin'): compass_python_interpreter = '/usr/bin/env python' -compass_installer = env.Substfile('#/src/mongo/installer/compass/' + compass_script, - SUBST_DICT=[ - ('@compass_type@', compass_type), - ('@python_interpreter@', compass_python_interpreter), - ]) +compass_installer = env.Substfile( + target="$BUILD_DIR/mongo/installer/compass/" + compass_script, + source='installer/compass/' + compass_script, + SUBST_DICT=[ + ('@compass_type@', compass_type), + ('@python_interpreter@', compass_python_interpreter), + ], +) + distBinaries.append(compass_installer) if not hygienic: -- cgit v1.2.1