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:
parent
c98f8ba2ab
commit
384e8d85ba
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user