workaround for problem with trying to copy to existing dir

This commit is contained in:
Radovan Bast 2016-05-20 20:43:08 +02:00
parent 28582ceba7
commit 37d430c0fd

View File

@ -51,6 +51,8 @@ def configure_build_and_exe(name, setup_command, launcher=None):
os.chdir(os.path.join(HERE, name, 'cmake'))
shutil.copy(os.path.join('..', '..', '..', 'update.py'), 'update.py')
if os.path.exists('autocmake'):
shutil.rmtree('autocmake')
shutil.copytree(os.path.join('..', '..', '..', 'autocmake'), 'autocmake')
stdout, stderr = exe('python update.py ..')