1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

If VENV_PYTHON is not specified default to python3

This commit is contained in:
Ross McFarland
2020-06-12 07:52:44 -07:00
parent 13d5283310
commit ea5df74c3b

View File

@@ -13,7 +13,7 @@ fi
if [ ! -d "$VENV_NAME" ]; then
if [ -z "$VENV_PYTHON" ]; then
VENV_PYTHON=$(command -v python)
VENV_PYTHON=$(command -v python3)
fi
virtualenv --python="$VENV_PYTHON" "$VENV_NAME"
fi