aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2013-07-16 20:50:34 -0700
committerAdam Vandenberg2013-07-16 20:50:45 -0700
commitf432a59fd0d68a7b17143699fa7e4dc93bd6a5e8 (patch)
treeff23ab015cb41ddd500b6d4b145a2128ed7b4dc7 /Library
parent86cf6f03290f415539daed2e82c3095d7ecae1f7 (diff)
downloadbrew-f432a59fd0d68a7b17143699fa7e4dc93bd6a5e8.tar.bz2
add full lib path to audit
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_cellar_checks.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/formula_cellar_checks.rb b/Library/Homebrew/formula_cellar_checks.rb
index c82b7acab..fc8d2be5e 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: