Do not stop when a tool directory is missing (all svn flavors).
This commit is contained in:
parent
79158f8eec
commit
6857328dfe
|
@ -197,6 +197,9 @@ class ProjectBuilder:
|
||||||
|
|
||||||
def _svnStatus ( self, tool ):
|
def _svnStatus ( self, tool ):
|
||||||
toolSourceDir = os.path.join ( self._sourceDir , 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 )
|
os.chdir ( toolSourceDir )
|
||||||
|
|
||||||
print "Checking SVN status of tool: ", tool
|
print "Checking SVN status of tool: ", tool
|
||||||
|
@ -208,6 +211,9 @@ class ProjectBuilder:
|
||||||
|
|
||||||
def _svnUpdate ( self, tool ):
|
def _svnUpdate ( self, tool ):
|
||||||
toolSourceDir = os.path.join ( self._sourceDir , 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 )
|
os.chdir ( toolSourceDir )
|
||||||
|
|
||||||
print "Doing a SVN update of tool: ", tool
|
print "Doing a SVN update of tool: ", tool
|
||||||
|
|
Loading…
Reference in New Issue