Skip to content

Commit 9d5e581

Browse files
committed
Revert "Evergreen: Fix sourcing javaConfig.bash"
This reverts commit 59dc792.
1 parent 97e021b commit 9d5e581

18 files changed

+19
-36
lines changed

.evergreen/compile.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ set -o errexit # Exit the script with error if any of the commands fail
66
############################################
77
# Main Program #
88
############################################
9-
RELATIVE_DIR_PATH="$(dirname "${BASH_SOURCE[0]:-$0}")"
10-
. "${RELATIVE_DIR_PATH}/javaConfig.bash"
9+
source "${BASH_SOURCE%/*}/javaConfig.bash"
1110

1211
echo "Compiling java driver"
1312

.evergreen/publish.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ set -o errexit # Exit the script with error if any of the commands fail
77
############################################
88
# Main Program #
99
############################################
10-
RELATIVE_DIR_PATH="$(dirname "${BASH_SOURCE:-$0}")"
11-
. "${RELATIVE_DIR_PATH}/javaConfig.bash"
10+
source "${BASH_SOURCE%/*}/javaConfig.bash"
1211

1312
RELEASE=${RELEASE:false}
1413

.evergreen/run-atlas-data-lake-test.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ set -o errexit # Exit the script with error if any of the commands fail
1010
############################################
1111
# Main Program #
1212
############################################
13-
RELATIVE_DIR_PATH="$(dirname "${BASH_SOURCE:-$0}")"
14-
. "${RELATIVE_DIR_PATH}/javaConfig.bash"
13+
source "${BASH_SOURCE%/*}/javaConfig.bash"
1514

1615
echo "Running Atlas Data Lake driver tests"
1716

.evergreen/run-connectivity-tests.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ set -o errexit
1212
############################################
1313
# Main Program #
1414
############################################
15-
RELATIVE_DIR_PATH="$(dirname "${BASH_SOURCE:-$0}")"
16-
. "${RELATIVE_DIR_PATH}/javaConfig.bash"
15+
source "${BASH_SOURCE%/*}/javaConfig.bash"
1716

1817
echo "Running connectivity tests with Java ${JAVA_VERSION}"
1918

.evergreen/run-gssapi-auth-test.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ set -o errexit # Exit the script with error if any of the commands fail
1515
############################################
1616
# Main Program #
1717
############################################
18-
RELATIVE_DIR_PATH="$(dirname "${BASH_SOURCE:-$0}")"
19-
. "${RELATIVE_DIR_PATH}/javaConfig.bash"
18+
source "${BASH_SOURCE%/*}/javaConfig.bash"
2019

2120
echo "Running GSSAPI authentication tests"
2221

.evergreen/run-kms-tls-tests.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ set -o errexit # Exit the script with error if any of the commands fail
1010
############################################
1111
# Main Program #
1212
############################################
13-
RELATIVE_DIR_PATH="$(dirname "${BASH_SOURCE:-$0}")"
14-
. "${RELATIVE_DIR_PATH}/javaConfig.bash"
13+
source "${BASH_SOURCE%/*}/javaConfig.bash"
1514
echo "Running KMS TLS tests"
1615

1716
cp ${JAVA_HOME}/lib/security/cacerts mongo-truststore

.evergreen/run-load-balancer-tests.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ MONGODB_URI=${MONGODB_URI:-}
1717
############################################
1818
# Main Program #
1919
############################################
20-
RELATIVE_DIR_PATH="$(dirname "${BASH_SOURCE:-$0}")"
21-
. "${RELATIVE_DIR_PATH}/javaConfig.bash"
20+
source "${BASH_SOURCE%/*}/javaConfig.bash"
2221

2322
if [ "$SSL" != "nossl" ]; then
2423
# We generate the keystore and truststore on every run with the certs in the drivers-tools repo

.evergreen/run-mmapv1-storage-test.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ set -o errexit # Exit the script with error if any of the commands fail
1010
############################################
1111
# Main Program #
1212
############################################
13-
RELATIVE_DIR_PATH="$(dirname "${BASH_SOURCE:-$0}")"
14-
. "${RELATIVE_DIR_PATH}/javaConfig.bash"
13+
source "${BASH_SOURCE%/*}/javaConfig.bash"
1514

1615
echo "Running MMAPv1 Storage Test"
1716

.evergreen/run-mongodb-aws-ecs-test.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ set -o errexit # Exit the script with error if any of the commands fail
1212
############################################
1313
# Main Program #
1414
############################################
15-
RELATIVE_DIR_PATH="$(dirname "${BASH_SOURCE:-$0}")"
16-
. "${RELATIVE_DIR_PATH}/javaConfig.bash"
15+
source "${BASH_SOURCE%/*}/javaConfig.bash"
1716

1817
if [[ -z "$1" ]]; then
1918
echo "usage: $0 <MONGODB_URI>"

.evergreen/run-mongodb-aws-test.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ set -o errexit # Exit the script with error if any of the commands fail
1010
############################################
1111
# Main Program #
1212
############################################
13-
RELATIVE_DIR_PATH="$(dirname "${BASH_SOURCE:-$0}")"
14-
. "${RELATIVE_DIR_PATH}/javaConfig.bash"
13+
source "${BASH_SOURCE%/*}/javaConfig.bash"
1514

1615
echo "Running MONGODB-AWS authentication tests"
1716

0 commit comments

Comments
 (0)