From 5f6b10f39adbf6fc256eaf58945f5c95db0cbd14 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 5 Aug 2013 13:31:35 -0700 Subject: fix printing of unexpected bin/lib files --- Library/Homebrew/formula_cellar_checks.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Library') diff --git a/Library/Homebrew/formula_cellar_checks.rb b/Library/Homebrew/formula_cellar_checks.rb index 8354a89d7..97bc736c4 100644 --- a/Library/Homebrew/formula_cellar_checks.rb +++ b/Library/Homebrew/formula_cellar_checks.rb @@ -49,9 +49,9 @@ module FormulaCellarChecks Installing JARs to "lib" can cause conflicts between packages. For Java software, it is typically better for the formula to install to "libexec" and then symlink or wrap binaries into "bin". - "See "activemq", "jruby", etc. for examples." - "The offending files are:" - #{jars} + See "activemq", "jruby", etc. for examples. + The offending files are: + #{jars * "\n"} EOS ] end @@ -71,7 +71,7 @@ module FormulaCellarChecks <<-EOS.undent Installing non-libraries to "lib" is bad practice. The offending files are: - #{non_libraries} + #{non_libraries * "\n"} EOS ] end @@ -85,7 +85,7 @@ module FormulaCellarChecks ["Non-executables were installed to \"#{bin}\".", <<-EOS.undent The offending files are: - #{non_exes} + #{non_exes * "\n"} EOS ] end -- cgit v1.2.3