1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-29 04:20:29 +00:00

Fix ifs for ACTIVATE_MSVC

This commit is contained in:
AnyOldName3 2020-06-12 22:35:38 +00:00
parent 87dba1fcfc
commit 13c4e4b2a9

View File

@ -957,7 +957,7 @@ fi
echo echo
#fi #fi
if ! [ -z $ACTIVATE_MSVC ]; then if [ -n "$ACTIVATE_MSVC" ]; then
echo -n "- Activating MSVC in the current shell... " echo -n "- Activating MSVC in the current shell... "
command -v vswhere >/dev/null 2>&1 || { echo "Error: vswhere is not on the path."; wrappedExit 1; } command -v vswhere >/dev/null 2>&1 || { echo "Error: vswhere is not on the path."; wrappedExit 1; }
@ -1007,7 +1007,7 @@ if [ -z $VERBOSE ]; then
fi fi
fi fi
if [ -n $ACTIVATE_MSVC ]; then if [ -n "$ACTIVATE_MSVC" ]; then
echo echo
echo "Note: you must manually activate MSVC for the shell in which you want to do the build." echo "Note: you must manually activate MSVC for the shell in which you want to do the build."
echo echo