diff options
| author | Andrew Janke | 2016-04-03 16:28:38 -0400 |
|---|---|---|
| committer | Andrew Janke | 2016-04-03 19:49:20 -0400 |
| commit | ac8088304603a95e2ae4d187016a50c36c622605 (patch) | |
| tree | c9641a6a95ac5fbbecef5a0248cb0693e56c83bb /Library | |
| parent | fbc5fc3e92587b47ddd8d8a97eb8e3a138d72957 (diff) | |
| download | brew-ac8088304603a95e2ae4d187016a50c36c622605.tar.bz2 | |
brew search: fix `--desc` regression
Fixes homebrew/homebrew-core#22
Closes #12.
Signed-off-by: Andrew Janke <andrew@apjanke.net>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/descriptions.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/descriptions.rb b/Library/Homebrew/descriptions.rb index 804fc39cd..85d2812f3 100644 --- a/Library/Homebrew/descriptions.rb +++ b/Library/Homebrew/descriptions.rb @@ -37,6 +37,7 @@ class Descriptions # repos were updated more recently than it was. def self.cache_fresh? return false unless CACHE_FILE.exist? + cache_mtime = File.mtime(CACHE_FILE) Tap.each do |tap| next unless tap.git? |
