This commit is contained in:
Kovid Goyal 2019-07-01 18:26:15 +05:30
commit 7c07d114ac
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -88,7 +88,7 @@ def expand_file_list(items, is_paths=True):
ans.extend(expand_file_list(item, is_paths=is_paths)) ans.extend(expand_file_list(item, is_paths=is_paths))
else: else:
if '*' in item: if '*' in item:
ans.extend(expand_file_list(glob.glob(os.path.join(SRC, item)), is_paths=is_paths)) ans.extend(expand_file_list(sorted(glob.glob(os.path.join(SRC, item))), is_paths=is_paths))
else: else:
item = [item] item = [item]
if is_paths: if is_paths: