File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -72,19 +72,9 @@ if [[ "${GO_BUILD_TAGS}" =~ cse ]]; then
7272 if [ " ${SKIP_CRYPT_SHARED_LIB:- ' ' } " = " true" ]; then
7373 CRYPT_SHARED_LIB_PATH=" "
7474 echo " crypt_shared library is skipped"
75+ elif [ -z " ${CRYPT_SHARED_LIB_PATH:- } " ]; then
76+ echo " crypt_shared library path is empty"
7577 else
76- # Find the crypt_shared library file and set the CRYPT_SHARED_LIB_PATH to
77- # the path of that file. Only look for .so, .dll, or .dylib files to prevent matching any other
78- # downloaded files.
79- CRYPT_SHARED_LIB_PATH=" $( find " $MONGODB_BINARIES " -maxdepth 1 -type f \
80- -name ' mongo_crypt_v1.so' -o \
81- -name ' mongo_crypt_v1.dll' -o \
82- -name ' mongo_crypt_v1.dylib' ) "
83-
84- # If we're on Windows, convert the "cygdrive" path to Windows-style paths.
85- if [ " Windows_NT" = " $OS " ]; then
86- CRYPT_SHARED_LIB_PATH=$( cygpath -m $CRYPT_SHARED_LIB_PATH )
87- fi
8878 echo " crypt_shared library will be loaded from path: $CRYPT_SHARED_LIB_PATH "
8979 fi
9080fi
You can’t perform that action at this time.
0 commit comments