fat16copy: Sort new directory entries. am: 567c5d0f95

am: cf24e4b85f

Change-Id: I109b9e0d9f9e3bf6851b575a3b9576282b851c0a
This commit is contained in:
Alex Deymo 2016-10-14 03:27:09 +00:00 committed by android-build-merger
commit 3c6bf619ac
1 changed files with 1 additions and 1 deletions

View File

@ -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: