File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
set -eu
4
4
5
+ HERE=$( dirname ${BASH_SOURCE:- $0 } )
6
+ HERE=" $( cd -- " $HERE " > /dev/null 2>&1 && pwd ) "
7
+ ROOT=$( dirname " $( dirname $HERE ) " )
8
+
5
9
if [ -z " ${TEST_CRYPT_SHARED:- } " ]; then
6
10
export SKIP_CRYPT_SHARED=1
7
11
fi
8
12
9
13
# Override the tls files if applicable.
10
14
if [ " ${SSL:- } " == " ssl" ]; then
11
- export TLS_CERT_KEY_FILE=${PROJECT_DIRECTORY } /test/certificates/client.pem
12
- export TLS_PEM_KEY_FILE=${PROJECT_DIRECTORY } /test/certificates/server.pem
13
- export TLS_CA_FILE=${PROJECT_DIRECTORY } /test/certificates/ca.pem
15
+ export TLS_CERT_KEY_FILE=${ROOT } /test/certificates/client.pem
16
+ export TLS_PEM_KEY_FILE=${ROOT } /test/certificates/server.pem
17
+ export TLS_CA_FILE=${ROOT } /test/certificates/ca.pem
14
18
fi
15
19
16
20
MONGODB_VERSION=${VERSION:- } \
You can’t perform that action at this time.
0 commit comments