diff --git a/CHANGELOG.md b/CHANGELOG.md index 6af009cc..91edb041 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -53,6 +53,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 Now all 2D variant stuff is applied before calling iBoM (#350) - Copy_Files: - Problems on KiCad 5 (no 3rd party dir) (#357) + - Problems with compress output (also Makefile) (#372) - BoM: - pre_transform filers can't be logic filters - DOCs diff --git a/kibot/out_copy_files.py b/kibot/out_copy_files.py index 80c78c5c..7ad270f3 100644 --- a/kibot/out_copy_files.py +++ b/kibot/out_copy_files.py @@ -206,12 +206,13 @@ class Copy_FilesOptions(Base3DOptions): return files def get_targets(self, out_dir): + self.output_dir = out_dir files = self.get_files(no_out_run=True) - return sorted([os.path.join(out_dir, v) for v in files.values()]) + return sorted([os.path.join(out_dir, v) for _, v in files]) def get_dependencies(self): files = self.get_files(no_out_run=True) - return files.keys() + return sorted([v for v, _ in files]) def run(self, output): super().run(output)