Skip to content

Commit e18c281

Browse files
committed
fix python binary handling
1 parent fdcd12d commit e18c281

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.evergreen/scripts/ensure-hatch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if [ ! -x "$(command -v hatch)" ]; then
88
# Ensure there is a python venv.
99
. .evergreen/utils.sh
1010

11-
if [ -z "$PYTHON_BINARY" ]; then
11+
if [ -z "${PYTHON_BINARY:-}" ]; then
1212
PYTHON_BINARY=$(find_python3)
1313
fi
1414
VENV_DIR=.venv

0 commit comments

Comments
 (0)