From ac8088304603a95e2ae4d187016a50c36c622605 Mon Sep 17 00:00:00 2001 From: Andrew Janke Date: Sun, 3 Apr 2016 16:28:38 -0400 Subject: [PATCH] brew search: fix `--desc` regression Fixes homebrew/homebrew-core#22 Closes #12. Signed-off-by: Andrew Janke --- Library/Homebrew/descriptions.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/descriptions.rb b/Library/Homebrew/descriptions.rb index 804fc39cdc..85d2812f33 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?