aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2013-08-05 13:31:35 -0700
committerAdam Vandenberg2013-08-05 13:31:35 -0700
commit5f6b10f39adbf6fc256eaf58945f5c95db0cbd14 (patch)
tree56e255214fc8927284123d2a80b53a359f7ce956 /Library
parent008476940f0fc4191657d3df8f80ae2866a87e81 (diff)
downloadbrew-5f6b10f39adbf6fc256eaf58945f5c95db0cbd14.tar.bz2
fix printing of unexpected bin/lib files
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_cellar_checks.rb10
1 files changed, 5 insertions, 5 deletions
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