Adding -f option in rm command for --rm-build (in case build does not exist)

This commit is contained in:
The Coriolis Project 2010-05-19 14:47:48 +00:00
parent 5cc65b84b1
commit 57377a79b5
1 changed files with 1 additions and 1 deletions

View File

@ -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):