From 0ff8f923f68be6616e9cd55693d72e7e9e022d2e Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Mon, 10 Feb 2014 16:56:37 +0000 Subject: [PATCH] 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 --- tools/file_util.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/file_util.py b/tools/file_util.py index 52175cfa8..9cb975fc1 100644 --- a/tools/file_util.py +++ b/tools/file_util.py @@ -119,7 +119,8 @@ def make_dir(name, quiet = True): def get_files(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): """ Read and parse a version file (key=value pairs, one per line). """