Mercurial > hg > truffle
changeset 4186:71a2cd79c375
Made stdout for mx unbuffered.
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 03 Jan 2012 13:53:38 +0100 |
parents | 4af146831ed6 |
children | ac5c2bdfcca2 |
files | mxtool/mx mxtool/mx.py |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mxtool/mx Tue Jan 03 12:56:55 2012 +0100 +++ b/mxtool/mx Tue Jan 03 13:53:38 2012 +0100 @@ -44,7 +44,7 @@ raise SystemExit('The mx.py script requires Python 2.7, not {0}.{1}.{2}'.format(major, minor, micro)) END if [ $? -eq 0 ]; then - exec python "$dir/mx.py" "$@" + exec python -u "$dir/mx.py" "$@" fi #end of file
--- a/mxtool/mx.py Tue Jan 03 12:56:55 2012 +0100 +++ b/mxtool/mx.py Tue Jan 03 13:53:38 2012 +0100 @@ -2,7 +2,7 @@ # # ---------------------------------------------------------------------------------------------------- # -# Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it