Ignore errors on rmtree call

This commit is contained in:
Alexander Bock
2015-05-27 11:29:35 +02:00
parent a2ffa3d02e
commit 227b1dafa7

View File

@@ -25,8 +25,8 @@ for s in settings:
# Build cmake and compile
for c in cmds:
print "CMake:" , cmd
shutil.rmtree("build")
shutil.rmtree("bin")
shutil.rmtree("build", ignore_errors=True)
shutil.rmtree("bin", ignore_errors=True)
os.makedirs("build")
os.chdir("build")
call(cmd)