list: pass explicit sort to handle APFS

This commit is contained in:
Dominyk Tiller 2017-10-14 06:33:06 +01:00
parent d9074b80b7
commit f1b183b287
No known key found for this signature in database
GPG Key ID: FE19AEFCF658C6F6

View File

@ -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[)]