Merge branch 'AnyOldName3-master-patch-15901' into 'master'

Fix ifs for ACTIVATE_MSVC

Closes #5460

See merge request OpenMW/openmw!220
pull/578/head
Alexei Dobrohotov 5 years ago
commit 9dff13a94c

@ -957,7 +957,7 @@ fi
echo
#fi
if ! [ -z $ACTIVATE_MSVC ]; then
if [ -n "$ACTIVATE_MSVC" ]; then
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; }
@ -1010,7 +1010,7 @@ fi
echo "Script completed successfully."
echo "You now have an OpenMW build system at $(unixPathAsWindows "$(pwd)")"
if [ -n $ACTIVATE_MSVC ]; then
if [ -n "$ACTIVATE_MSVC" ]; then
echo
echo "Note: you must manually activate MSVC for the shell in which you want to do the build."
echo

Loading…
Cancel
Save