[rtems-source-builder commit] Fixes to get a better update on MSYS2.

Chris Johns chrisj at rtems.org
Wed Feb 18 01:36:15 UTC 2015


Module:    rtems-source-builder
Branch:    master
Commit:    616892914e5362506af208e069dd69d83e5ec357
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=616892914e5362506af208e069dd69d83e5ec357

Author:    Chris Johns <chrisj at rtems.org>
Date:      Wed Feb 18 10:12:03 2015 +1100

Fixes to get a better update on MSYS2.

---

 source-builder/sb/log.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/source-builder/sb/log.py b/source-builder/sb/log.py
index 410987c..ba31654 100755
--- a/source-builder/sb/log.py
+++ b/source-builder/sb/log.py
@@ -57,6 +57,7 @@ def _output(text = os.linesep, log = None):
     else:
         for l in text.replace(chr(13), '').splitlines():
             print l
+        sys.stdout.flush()
 
 def stdout_raw(text = os.linesep):
     print text,
@@ -65,6 +66,7 @@ def stdout_raw(text = os.linesep):
 def stderr(text = os.linesep, log = None):
     for l in text.replace(chr(13), '').splitlines():
         print >> sys.stderr, l
+        sys.stderr.flush()
 
 def output(text = os.linesep, log = None):
     if not quiet:




More information about the vc mailing list