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

Commit 3c6bf619 authored by Alex Deymo's avatar Alex Deymo Committed by android-build-merger
Browse files

fat16copy: Sort new directory entries. am: 567c5d0f

am: cf24e4b8

Change-Id: I109b9e0d9f9e3bf6851b575a3b9576282b851c0a
parents 70e24e55 cf24e4b8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -787,7 +787,7 @@ def add_item(directory, item):
    if len(base) == 0:
      base = os.path.basename(item[:-1])
    sub = directory.new_subdirectory(base)
    for next_item in os.listdir(item):
    for next_item in sorted(os.listdir(item)):
      add_item(sub, os.path.join(item, next_item))
  else:
    with open(item, 'rb') as f: