diff options
author | Mathew Robinson <mathew.robinson@mongodb.com> | 2019-10-28 15:26:32 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-10-28 15:26:32 +0000 |
commit | b653a1340e874cd379089ca3e9b293c2c0a12484 (patch) | |
tree | e6e24d5db05396d718ff368a012977b7febfbaed | |
parent | 428532a09119970372d0ae613b0d206cf3e14a8d (diff) | |
download | mongo-b653a1340e874cd379089ca3e9b293c2c0a12484.tar.gz |
SERVER-41094 Write compass installer to build directoryr4.3.0
-rw-r--r-- | src/mongo/SConscript | 14 |
1 files 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: |