From 6857328dfe0df7a75f02997131badddb6368214c Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Fri, 19 Mar 2010 10:01:54 +0000 Subject: [PATCH] Do not stop when a tool directory is missing (all svn flavors). --- bootstrap/buildCoriolis.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bootstrap/buildCoriolis.py b/bootstrap/buildCoriolis.py index f29a9a98..437d326d 100755 --- a/bootstrap/buildCoriolis.py +++ b/bootstrap/buildCoriolis.py @@ -197,6 +197,9 @@ class ProjectBuilder: def _svnStatus ( self, tool ): toolSourceDir = os.path.join ( self._sourceDir , tool ) + if not os.path.isdir(toolSourceDir): + print "[ERROR] Missing tool source directory: \"%s\" (skipped)." % toolSourceDir + return os.chdir ( toolSourceDir ) print "Checking SVN status of tool: ", tool @@ -208,6 +211,9 @@ class ProjectBuilder: def _svnUpdate ( self, tool ): toolSourceDir = os.path.join ( self._sourceDir , tool ) + if not os.path.isdir(toolSourceDir): + print "[ERROR] Missing tool source directory: \"%s\" (skipped)." % toolSourceDir + return os.chdir ( toolSourceDir ) print "Doing a SVN update of tool: ", tool