diff --git a/upgrade.sh b/upgrade.sh index f672d4c90..aab7a6919 100755 --- a/upgrade.sh +++ b/upgrade.sh @@ -17,11 +17,11 @@ fi # Create a new virtual environment COMMAND="/usr/bin/python3 -m venv ${VIRTUALENV}" echo "Creating a new virtual environment at ${VIRTUALENV}..." -eval $COMMAND || ( +eval $COMMAND || { echo "Failed to create the virtual environment. Check that you have the" echo "required system packages installed." exit 1 -) +} # Activate the virtual environment source "${VIRTUALENV}/bin/activate"