aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-09-05 22:07:35 -0700
committerAdam Vandenberg2012-09-05 22:07:35 -0700
commit6a131ced3fcdf9aef0671464c07d3a8ab18fa305 (patch)
treeb22896368a539de4c82e58d48527dbdb0800d59b /Library
parentfabc7eb992bd67ebf8b56656b027d02f4819c6ea (diff)
downloadbrew-6a131ced3fcdf9aef0671464c07d3a8ab18fa305.tar.bz2
Remove fink/macports from verbose --config if they are not present.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/--config.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/--config.rb b/Library/Homebrew/cmd/--config.rb
index ec04a29d6..7337934e2 100644
--- a/Library/Homebrew/cmd/--config.rb
+++ b/Library/Homebrew/cmd/--config.rb
@@ -125,7 +125,8 @@ module Homebrew extend self
puts "GCC-4.2: build #{gcc_42}" if gcc_42
puts "LLVM-GCC: #{llvm ? "build #{llvm}" : "N/A"}"
puts "Clang: #{clang ? "#{clang} build #{clang_build}" : "N/A"}"
- puts "MacPorts or Fink? #{macports_or_fink_installed?}"
+ ponk = macports_or_fink_installed?
+ puts "MacPorts or Fink? #{ponk}" if ponk
puts "System Ruby: #{RUBY_VERSION}-#{RUBY_PATCHLEVEL}"
puts "Perl: #{describe_perl}"
puts "Python: #{describe_python}"