2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2025-01-11 10:55:08 +01:00

buildcopy: Create destination directories as needed.

This commit is contained in:
Calle Rosenquist 2017-11-29 11:59:24 +00:00 committed by ita1024
parent c98f8ba2ab
commit 384e8d85ba

View File

@ -78,4 +78,5 @@ class buildcopy(Task.Task):
def run(self):
for f,t in self.node_pairs:
t.parent.mkdir()
shutil.copy2(f.abspath(), t.abspath())