diff options
-rw-r--r-- | buildstream/utils.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/buildstream/utils.py b/buildstream/utils.py index 2b6c4517c..e8b15bc48 100644 --- a/buildstream/utils.py +++ b/buildstream/utils.py @@ -104,6 +104,8 @@ def list_relative_paths(directory): Relative filenames in `directory` """ for (dirpath, dirnames, filenames) in os.walk(directory): + dirnames.sort() + filenames.sort() relpath = os.path.relpath(dirpath, directory) |