Tweaking build script for weird pythons.

This commit is contained in:
Ben Vanik 2015-05-02 21:57:51 -07:00
parent 519fefd58d
commit 8b7187d480
1 changed files with 1 additions and 2 deletions

3
xb.bat
View File

@ -1,7 +1,6 @@
@ECHO OFF
REM Copyright 2015 Ben Vanik. All Rights Reserved.
TITLE xenia
SET DIR=%~dp0
SET XENIA_SLN=build\xenia\xenia.sln
@ -508,7 +507,7 @@ IF %ERRORLEVEL% NEQ 0 (
ENDLOCAL & SET _RESULT=1
GOTO :eof
)
CMD /c python -c "import sys; sys.exit(1 if sys.version_info[:2] != (2, 7) else 0)"
CMD /c python -c "import sys; sys.exit(1 if not sys.version_info[:2] == (2, 7) else 0)"
IF %ERRORLEVEL% NEQ 0 (
ENDLOCAL & SET _RESULT=1
GOTO :eof