diff options
Diffstat (limited to 'Library/Homebrew/config.rb')
| -rw-r--r-- | Library/Homebrew/config.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/config.rb b/Library/Homebrew/config.rb index bd8e3e53c..57cf19283 100644 --- a/Library/Homebrew/config.rb +++ b/Library/Homebrew/config.rb @@ -5,7 +5,7 @@ def cache # we do this for historic reasons, however the cache *should* be the same # directory whichever user is used and whatever instance of brew is executed home_cache = Pathname.new("~/Library/Caches/Homebrew").expand_path - if home_cache.directory? and home_cache.writable_real? + if home_cache.directory? && home_cache.writable_real? home_cache else Pathname.new("/Library/Caches/Homebrew").extend Module.new { |
