Skip to content

Commit c3a53b4

Browse files
committed
fix activation
1 parent 0de391c commit c3a53b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,4 @@ export TEST_AUTH_AWS=1
3030
export AUTH="auth"
3131
export SET_XTRACE_ON=1
3232
cd src
33-
$PYTHON_BINARY -m pip install -q --user hatch
3433
bash .evergreen/hatch.sh test:test-eg

.evergreen/scripts/ensure-hatch.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ if [ ! -x "$(command -v hatch)" ]; then
1616
echo "Creating virtual environment..."
1717
createvirtualenv "$PYTHON_BINARY" .venv
1818
echo "Creating virtual environment... done."
19-
elif [ -f $VENV_DIR/Scripts/activate ]; then
19+
fi
20+
if [ -f $VENV_DIR/Scripts/activate ]; then
2021
. $VENV_DIR/Scripts/activate
2122
else
2223
. $VENV_DIR/bin/activate

0 commit comments

Comments
 (0)