Linux: Make translator tool output consistent with other platforms (issue #1177).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1606 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2014-02-10 16:56:37 +00:00
parent a0be247527
commit 0ff8f923f6
1 changed files with 2 additions and 1 deletions

View File

@ -119,7 +119,8 @@ def make_dir(name, quiet = True):
def get_files(search_glob): def get_files(search_glob):
""" Returns all files matching the search glob. """ """ Returns all files matching the search glob. """
return iglob(search_glob) # Sort the result for consistency across platforms.
return sorted(iglob(search_glob))
def read_version_file(file, args): def read_version_file(file, args):
""" Read and parse a version file (key=value pairs, one per line). """ """ Read and parse a version file (key=value pairs, one per line). """