Fixes #6496: Fix upgrade script when Python installed in nonstandard path

This commit is contained in:
jeremystretch
2021-05-28 13:18:50 -04:00
parent 1c0f3e1b81
commit bd7bcf8a0b
2 changed files with 2 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ else
fi
# Create a new virtual environment
COMMAND="/usr/bin/python3 -m venv ${VIRTUALENV}"
COMMAND="python3 -m venv ${VIRTUALENV}"
echo "Creating a new virtual environment at ${VIRTUALENV}..."
eval $COMMAND || {
echo "--------------------------------------------------------------------"