diff options
-rw-r--r-- | morphlib/builder2.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/morphlib/builder2.py b/morphlib/builder2.py index 88717bb9..28a5e0ba 100644 --- a/morphlib/builder2.py +++ b/morphlib/builder2.py @@ -370,12 +370,10 @@ class ChunkBuilder(BuilderBase): # buffers, but flush handles both logfile.write('# # %s\n' % cmd) logfile.flush() - - self.staging_area.runcmd(['sh', '-c', cmd], - cwd=relative_builddir, - stdout=logfile, - stderr=subprocess.STDOUT) - + self.runcmd(['sh', '-c', cmd], + cwd=relative_builddir, + stdout=logfile, + stderr=subprocess.STDOUT) logfile.flush() except cliapp.AppException, e: logfile.flush() |