File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -73,15 +73,10 @@ if [[ "${GO_BUILD_TAGS}" =~ cse ]]; then
7373 CRYPT_SHARED_LIB_PATH=" "
7474 echo " crypt_shared library is skipped"
7575 else
76- # Find the crypt_shared library file in the current directory and set the CRYPT_SHARED_LIB_PATH to
76+ # Find the crypt_shared library file and set the CRYPT_SHARED_LIB_PATH to
7777 # the path of that file. Only look for .so, .dll, or .dylib files to prevent matching any other
7878 # downloaded files.
79- if [ " Windows_NT" = " $OS " ]; then
80- BASE_PATH=" c:/libmongocrypt"
81- else
82- BASE_PATH=" $( pwd) /install"
83- fi
84- CRYPT_SHARED_LIB_PATH=" $( find " $BASE_PATH " -maxdepth 1 -type f \
79+ CRYPT_SHARED_LIB_PATH=" $( find " $MONGODB_BINARIES " -maxdepth 1 -type f \
8580 -name ' mongo_crypt_v1.so' -o \
8681 -name ' mongo_crypt_v1.dll' -o \
8782 -name ' mongo_crypt_v1.dylib' ) "
You can’t perform that action at this time.
0 commit comments