From 8faaba66659d070528b1d50f4d21c8b5709c5fcb Mon Sep 17 00:00:00 2001 From: Alex Dunn Date: Sat, 1 Aug 2015 15:42:56 -0700 Subject: check_emacs_lisp(): bail unless site-lisp exists Closes Homebrew/homebrew#42345. --- Library/Homebrew/formula_cellar_checks.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') 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" -- cgit v1.2.3