|
|
@ -366,7 +366,8 @@ class OutputFiles: |
|
|
|
handle.write(i.file_data) |
|
|
|
handle.write(i.file_data) |
|
|
|
os.utime(dst_path, times) |
|
|
|
os.utime(dst_path, times) |
|
|
|
elif i.file_path: |
|
|
|
elif i.file_path: |
|
|
|
shutil.copy2(i.file_path, dst_path) |
|
|
|
if i.file_path != dst_path: |
|
|
|
|
|
|
|
shutil.copy2(i.file_path, dst_path) |
|
|
|
else: |
|
|
|
else: |
|
|
|
report.warn("No data found for dependency file '{}'. It will not be copied into the export directory.", |
|
|
|
report.warn("No data found for dependency file '{}'. It will not be copied into the export directory.", |
|
|
|
str(i.dirname / i.filename), indent=1) |
|
|
|
str(i.dirname / i.filename), indent=1) |
|
|
|