From 3f10d445492f0f9ff94eb908545763832ad8504b Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Fri, 26 Mar 2010 18:09:30 +0000 Subject: [PATCH] * ./goodies: - Bug: In buildCoriolis.py, io tool was both declared as belonging to io and hurricane project. Removed from Hurricane. - Bug: In buildCoriolis.py, exctract correctly the return status of a command to return it to the parent process. See Python documentation about os.wait() & os.waitpid(). --- bootstrap/buildCoriolis.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bootstrap/buildCoriolis.py b/bootstrap/buildCoriolis.py index 0e5351f9..8e216d46 100755 --- a/bootstrap/buildCoriolis.py +++ b/bootstrap/buildCoriolis.py @@ -151,8 +151,9 @@ class ProjectBuilder: def _execute ( self, command, error ): child = subprocess.Popen ( command, env=self._environment, stdout=None ) (pid,status) = os.waitpid ( child.pid, 0 ) + status >>= 8 if status != 0: - print "[ERROR] %s (%d)." % (error,status) + print "[ERROR] %s (status:%d)." % (error,status) sys.exit ( status ) return @@ -334,8 +335,7 @@ if __name__ == "__main__": ) coriolis = Project ( name = "coriolis" - , tools =[ "io" - , "hurricane" + , tools =[ "hurricane" , "crlcore" , "knik" , "katabatic"