keg: uniq.sort -> sort.uniq
This commit is contained in:
parent
1ad0addbc8
commit
20e85acec4
@ -75,7 +75,7 @@ class Keg
|
||||
opt
|
||||
var/homebrew/linked
|
||||
]
|
||||
).map { |dir| HOMEBREW_PREFIX/dir }.uniq.sort.freeze
|
||||
).map { |dir| HOMEBREW_PREFIX/dir }.sort.uniq.freeze
|
||||
|
||||
# Keep relatively in sync with
|
||||
# https://github.com/Homebrew/install/blob/master/install
|
||||
@ -98,7 +98,7 @@ class Keg
|
||||
HOMEBREW_REPOSITORY,
|
||||
Language::Python.homebrew_site_packages,
|
||||
]
|
||||
).uniq.sort.freeze
|
||||
).sort.uniq.freeze
|
||||
|
||||
# These paths relative to the keg's share directory should always be real
|
||||
# directories in the prefix, never symlinks.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user