From f432a59fd0d68a7b17143699fa7e4dc93bd6a5e8 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Tue, 16 Jul 2013 20:50:34 -0700 Subject: [PATCH] add full lib path to audit --- Library/Homebrew/formula_cellar_checks.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/formula_cellar_checks.rb b/Library/Homebrew/formula_cellar_checks.rb index c82b7acabd..fc8d2be5e7 100644 --- a/Library/Homebrew/formula_cellar_checks.rb +++ b/Library/Homebrew/formula_cellar_checks.rb @@ -41,7 +41,7 @@ module FormulaCellarChecks jars = f.lib.children.select{|g| g.to_s =~ /\.jar$/} return if jars.empty? - ['JARs were installed to "lib".', + ["JARs were installed to \"#{f.lib}\".", <<-EOS.undent Installing JARs to "lib" can cause conflicts between packages. For Java software, it is typically better for the formula to @@ -64,7 +64,7 @@ module FormulaCellarChecks end return if non_libraries.empty? - ['Non-libraries were installed to "lib".', + ["Non-libraries were installed to \"#{f.lib}\".", <<-EOS.undent Installing non-libraries to "lib" is bad practice. The offending files are: