mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 11:09:37 -06:00
Ignore errors on rmtree call
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user