Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • seco-ne/yocto/infrastructure/gitlab-ci
1 result
Show changes
Commits on Source (1)
......@@ -28,7 +28,12 @@ def generate_md5sums_file(input_files: list[str], output_file: str):
"""
md5sums = {}
for f in input_files:
md5sums[os.path.basename(f)] = md5(f)
# This might should be used somewhere before,
# but the previous state was not to fail when a file in
# the list did not exist, like in copy files
if os.path.exists(f):
md5sums[os.path.basename(f)] = md5(f)
output_dir = os.path.dirname(output_file)
if output_dir:
os.makedirs(output_dir, exist_ok=True)
......