Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 67c90ed1 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Reland "Fix retrofit OTA generation failures"" into main

parents 5e32d414 13f0b68a
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -1111,9 +1111,10 @@ def CopyTargetFilesDir(input_dir):
      relative_path = path.removeprefix(input_dir).removeprefix("/")
      if not Fnmatch(relative_path, UNZIP_PATTERN):
        continue
      if filename.endswith(".prop") or filename == "prop.default" or "/etc/vintf/" in relative_path:
      target_path = os.path.join(
          output_dir, relative_path)
      if os.path.exists(target_path):
        continue
      os.makedirs(os.path.dirname(target_path), exist_ok=True)
      shutil.copy(path, target_path)
  return output_dir