diff options
author | Andrew Morrow <acm@mongodb.com> | 2020-07-10 16:23:41 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-07-11 18:39:14 +0000 |
commit | 4b918b3f7693c42ad74dfa5030e7cf2ffc3d1ddb (patch) | |
tree | 5a58609efccd0d3493e6cd9a8d83315b44f34cdc /src/mongo/SConscript | |
parent | 6653bf6dea2d03fa7075c56a19345804040440a9 (diff) | |
download | mongo-4b918b3f7693c42ad74dfa5030e7cf2ffc3d1ddb.tar.gz |
SERVER-49403 Ensure compass installer has correct execute bits set
Diffstat (limited to 'src/mongo/SConscript')
-rw-r--r-- | src/mongo/SConscript | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/SConscript b/src/mongo/SConscript index e9fabb7ae04..eb2db8e7cc0 100644 --- a/src/mongo/SConscript +++ b/src/mongo/SConscript @@ -965,7 +965,10 @@ compass_installer = env.Substfile( ], ) -compass_script_installer = env.AutoInstall( +if env.TargetOSIs('posix'): + env.AddPostAction(compass_installer, Chmod('$TARGET', 0o755)) + +env.AutoInstall( target='$PREFIX_BINDIR', source=[ compass_installer, |