Skip to content

Commit e960fa9

Browse files
committed
clean up path handling
1 parent 02f807a commit e960fa9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.evergreen/scripts/configure-env.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ DRIVERS_TOOLS="$(dirname $PROJECT_DIRECTORY)/drivers-tools"
1616
CARGO_HOME=${CARGO_HOME:-${DRIVERS_TOOLS}/.cargo}
1717
UV_TOOL_DIR=$PROJECT_DIRECTORY/.local/uv/tools
1818
UV_CACHE_DIR=$PROJECT_DIRECTORY/.local/uv/cache
19-
DRIVERS_TOOLS_BINARIES="$DRIVERS_TOOLS/.bin"
20-
MONGODB_BINARIES="$DRIVERS_TOOLS/mongodb/bin"
2119

2220
# On Evergreen jobs, "CI" will be set, and we don't want to write to $HOME.
2321
if [ "${CI:-}" == "true" ]; then
@@ -47,6 +45,8 @@ if [ -f "$SCRIPT_DIR/env.sh" ]; then
4745
fi
4846

4947
MONGO_ORCHESTRATION_HOME="$DRIVERS_TOOLS/.evergreen/orchestration"
48+
DRIVERS_TOOLS_BINARIES="$DRIVERS_TOOLS/.bin"
49+
MONGODB_BINARIES="$DRIVERS_TOOLS/mongodb/bin"
5050
PATH="$MONGODB_BINARIES:$DRIVERS_TOOLS_BINARIES:$PYMONGO_BIN_DIR:$PATH"
5151

5252
cat <<EOT > "$SCRIPT_DIR"/env.sh

0 commit comments

Comments
 (0)