Adding -f option in rm command for --rm-build (in case build does not exist)
This commit is contained in:
parent
5cc65b84b1
commit
57377a79b5
|
@ -215,7 +215,7 @@ class ProjectBuilder:
|
|||
|
||||
if self._rmBuild:
|
||||
print "Removing tool build directory: \"%s\"." % toolBuildDir
|
||||
command = [ "/bin/rm", "-r", toolBuildDir ]
|
||||
command = [ "/bin/rm", "-rf", toolBuildDir ]
|
||||
self._execute ( command, "Removing tool build directory" )
|
||||
|
||||
if not os.path.isdir(toolBuildDir):
|
||||
|
|
Loading…
Reference in New Issue