# HG changeset patch # User Gilles Duboscq # Date 1342742096 -7200 # Node ID a10e72af4dc5e24bf1515483d9348592345dd9ae # Parent 1cb45c7dba5517a8113f70a9a06d9fa7f460497e Make windows build work even if Visual Studio is not installed (only the Windows SDK is required) diff -r 1cb45c7dba55 -r a10e72af4dc5 mx/commands.py --- a/mx/commands.py Thu Jul 19 14:54:33 2012 +0200 +++ b/mx/commands.py Fri Jul 20 01:54:56 2012 +0200 @@ -391,11 +391,11 @@ ret = True if line == ENDTOKEN: if not findInOutput: - stdin.write('echo ERR%errorlevel%' + newLine) + stdin.write('echo ERRXXX%errorlevel%' + newLine) else: break - if line.startswith('ERR'): - if line == 'ERR0': + if line.startswith('ERRXXX'): + if line == 'ERRXXX0': ret = True break; stdin.write('exit' + newLine)