mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-21 18:40:01 +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:
parent
657306c293
commit
35d920569c
@ -752,8 +752,8 @@ fi
|
|||||||
elif [ -d 'aqt-venv/Scripts' ]; then
|
elif [ -d 'aqt-venv/Scripts' ]; then
|
||||||
VENV_BIN_DIR='Scripts'
|
VENV_BIN_DIR='Scripts'
|
||||||
else
|
else
|
||||||
echo "Error: Failed to create virtualenv."
|
echo "Error: Failed to create virtualenv in expected location."
|
||||||
exit 1
|
wrappedExit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! [ -e "aqt-venv/${VENV_BIN_DIR}/aqt" ]; then
|
if ! [ -e "aqt-venv/${VENV_BIN_DIR}/aqt" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user