aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Dunn2015-08-01 15:42:56 -0700
committerAlex Dunn2015-08-01 15:52:54 -0700
commit8faaba66659d070528b1d50f4d21c8b5709c5fcb (patch)
treef1383c8492836afd652c162bf1b403aeec7d6aec
parent81eedecc5aad951f445e6e5d813890b36c9ac679 (diff)
downloadbrew-8faaba66659d070528b1d50f4d21c8b5709c5fcb.tar.bz2
check_emacs_lisp(): bail unless site-lisp exists
Closes Homebrew/homebrew#42345.
-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"