aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominyk Tiller2017-10-14 06:33:06 +0100
committerDominyk Tiller2017-10-14 06:35:33 +0100
commitf1b183b287f7b3d94d5cc5093581fe8c1de8be9d (patch)
treece19f8fd6cd39a9a9dcec1184f6a8e66c7424247 /Library
parentd9074b80b7617e73084a55d8318da3fb67641bbf (diff)
downloadbrew-f1b183b287f7b3d94d5cc5093581fe8c1de8be9d.tar.bz2
list: pass explicit sort to handle APFS
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/list.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/list.rb b/Library/Homebrew/cmd/list.rb
index 436fc1f97..263f33564 100644
--- a/Library/Homebrew/cmd/list.rb
+++ b/Library/Homebrew/cmd/list.rb
@@ -87,7 +87,7 @@ module Homebrew
dirs.delete "etc"
dirs.delete "var"
- args = dirs + %w[-type f (]
+ args = dirs.sort + %w[-type f (]
args.concat UNBREWED_EXCLUDE_FILES.flat_map { |f| %W[! -name #{f}] }
args.concat UNBREWED_EXCLUDE_PATHS.flat_map { |d| %W[! -path #{d}] }
args.concat %w[)]