aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/formula_cellar_checks.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_cellar_checks.rb b/Library/Homebrew/formula_cellar_checks.rb
index f16750b15..b3ace41e8 100644
--- a/Library/Homebrew/formula_cellar_checks.rb
+++ b/Library/Homebrew/formula_cellar_checks.rb
@@ -174,7 +174,7 @@ module FormulaCellarChecks
end
def check_emacs_lisp(share, name)
- return unless share.directory?
+ return unless (share/"emacs/site-lisp").directory?
# Emacs itself can do what it wants
return if name == "emacs"