Update upgrade.sh

Increasing the chance that upgrade.sh will work even if python3 is not in the usual path
This commit is contained in:
janno 2020-05-05 13:41:00 +02:00 committed by GitHub
parent 3d8001ae1c
commit d50eeaa975
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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