workaround for problem with trying to copy to existing dir
This commit is contained in:
parent
28582ceba7
commit
37d430c0fd
@ -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 ..')
|
||||
|
Loading…
x
Reference in New Issue
Block a user