Mercurial > hg > truffle
comparison mxtool/mx @ 4186:71a2cd79c375
Made stdout for mx unbuffered.
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 03 Jan 2012 13:53:38 +0100 |
parents | 3e749481e445 |
children | a607682f7ba6 |
comparison
equal
deleted
inserted
replaced
4185:4af146831ed6 | 4186:71a2cd79c375 |
---|---|
42 major, minor, micro, _, _ = sys.version_info | 42 major, minor, micro, _, _ = sys.version_info |
43 if major != 2 or minor != 7: | 43 if major != 2 or minor != 7: |
44 raise SystemExit('The mx.py script requires Python 2.7, not {0}.{1}.{2}'.format(major, minor, micro)) | 44 raise SystemExit('The mx.py script requires Python 2.7, not {0}.{1}.{2}'.format(major, minor, micro)) |
45 END | 45 END |
46 if [ $? -eq 0 ]; then | 46 if [ $? -eq 0 ]; then |
47 exec python "$dir/mx.py" "$@" | 47 exec python -u "$dir/mx.py" "$@" |
48 fi | 48 fi |
49 | 49 |
50 #end of file | 50 #end of file |