aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAndrew Janke2016-04-03 16:28:38 -0400
committerAndrew Janke2016-04-03 19:49:20 -0400
commitac8088304603a95e2ae4d187016a50c36c622605 (patch)
treec9641a6a95ac5fbbecef5a0248cb0693e56c83bb /Library
parentfbc5fc3e92587b47ddd8d8a97eb8e3a138d72957 (diff)
downloadbrew-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.rb1
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?