From 8b7187d48033c7d416513e2c19f0779e901f2a6e Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Sat, 2 May 2015 21:57:51 -0700 Subject: [PATCH] Tweaking build script for weird pythons. --- xb.bat | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xb.bat b/xb.bat index 09a3804f9..44e3f1f38 100644 --- a/xb.bat +++ b/xb.bat @@ -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