From 38c5dd899ef71e218f59d72b3202e4fc25f52014 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Fri, 19 Mar 2010 10:07:12 +0000 Subject: [PATCH] Bug on quiet. --- bootstrap/buildCoriolis.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bootstrap/buildCoriolis.py b/bootstrap/buildCoriolis.py index 4bd838b4..67794889 100755 --- a/bootstrap/buildCoriolis.py +++ b/bootstrap/buildCoriolis.py @@ -202,7 +202,7 @@ class ProjectBuilder: if not os.path.isdir(toolSourceDir): if not self._quiet: print "[ERROR] Missing tool source directory: \"%s\" (skipped)." % toolSourceDir - return + return os.chdir ( toolSourceDir ) print "Checking SVN status of tool: ", tool @@ -278,8 +278,9 @@ class ProjectBuilder: if not self._environment.has_key(topVariable): self._environment[ topVariable ] = self._installDir self._environment[ topUserVariable ] = self._installDir - print "Setting %s = \"%s\"." % (topVariable ,self._environment[topVariable]) - print "Setting %s = \"%s\"." % (topUserVariable,self._environment[topUserVariable]) + if not self._quiet: + print "Setting %s = \"%s\"." % (topVariable ,self._environment[topVariable]) + print "Setting %s = \"%s\"." % (topUserVariable,self._environment[topUserVariable]) if projectName: project = self.getProject ( projectName )