1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-19 16:39:49 +00:00

Tweak error message

As we have `set -e`, the error message would never be printed if we
genuinely failed to create the virtualenv, just if we succeeded and the
expected directories didn't exist.
This commit is contained in:
AnyOldName3 2020-06-23 15:26:24 +01:00
parent 657306c293
commit 35d920569c

View file

@ -752,8 +752,8 @@ fi
elif [ -d 'aqt-venv/Scripts' ]; then
VENV_BIN_DIR='Scripts'
else
echo "Error: Failed to create virtualenv."
exit 1
echo "Error: Failed to create virtualenv in expected location."
wrappedExit 1
fi
if ! [ -e "aqt-venv/${VENV_BIN_DIR}/aqt" ]; then