diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2019-10-30 18:54:50 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-10-30 18:54:50 +0000 |
commit | 4e3a48b5c9e61fd02b7abc37072dab0a55491f99 (patch) | |
tree | 02e62bfd21d0b64693802a19be86b604b04e2e5a /src/third_party/scripts | |
parent | a6c0031a6568483a5fa375607cc99af3ead87991 (diff) | |
download | mongo-4e3a48b5c9e61fd02b7abc37072dab0a55491f99.tar.gz |
SERVER-44134 Update kms_message library in third_party
Diffstat (limited to 'src/third_party/scripts')
-rwxr-xr-x | src/third_party/scripts/kms_message_get_sources.sh | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/third_party/scripts/kms_message_get_sources.sh b/src/third_party/scripts/kms_message_get_sources.sh index 05450d7a0d4..6ad2fbb0e67 100755 --- a/src/third_party/scripts/kms_message_get_sources.sh +++ b/src/third_party/scripts/kms_message_get_sources.sh @@ -17,8 +17,8 @@ if grep -q Microsoft /proc/version; then GIT_EXE=git.exe fi -NAME=kms-message -REVISION=75e391a037d30941f8cad17568ea9bdd37962127 +NAME=libmongocrypt +REVISION=59c8c17bbdfa1cf0fdec60cfdde73a437a868221 if grep -q Microsoft /proc/version; then SRC_ROOT=$(wslpath -u $(powershell.exe -Command "Get-ChildItem Env:TEMP | Get-Content | Write-Host")) @@ -35,12 +35,12 @@ CLONE_DEST=$SRC if grep -q Microsoft /proc/version; then CLONE_DEST=$(wslpath -m $SRC) fi -DEST_DIR=$($GIT_EXE rev-parse --show-toplevel)/src/third_party/$NAME +DEST_DIR=$($GIT_EXE rev-parse --show-toplevel)/src/third_party/kms-message echo "dest: $DEST_DIR" if [ ! -d $SRC ]; then - $GIT_EXE clone https://github.com/mongodb-labs/kms-message $CLONE_DEST + $GIT_EXE clone https://github.com/mongodb/libmongocrypt $CLONE_DEST pushd $SRC $GIT_EXE checkout $REVISION @@ -58,10 +58,11 @@ README.rst test ) +SRC_DIR=${SRC}/kms-message for file in "${stuff_to_remove[@]}" ; do - rm -rf "$SRC/$file" + rm -rf "$SRC_DIR/$file" done -cp -r $SRC/* $DEST_DIR +cp -r $SRC_DIR/* $DEST_DIR |