aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMax Howell2009-08-08 14:05:09 +0100
committerMax Howell2009-08-10 18:11:23 +0100
commit7c0bd6fcb0439e939ff23691e29945b4155fd86d (patch)
tree7855c87c2990faf52358ea886d9da53016f86064 /bin
parent050d753b1f89b932e5851ba9e497575b52d434df (diff)
downloadhomebrew-7c0bd6fcb0439e939ff23691e29945b4155fd86d.tar.bz2
ohai takes multiple parameters
Will not show any of the block if the 1st additional parameter is nil
Diffstat (limited to 'bin')
-rwxr-xr-xbin/brew6
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/brew b/bin/brew
index d4162986a..545283844 100755
--- a/bin/brew
+++ b/bin/brew
@@ -58,11 +58,7 @@ begin
start_time=Time.now
begin
install f
- if f.caveats
- ohai "Caveats"
- puts f.caveats
- puts
- end
+ ohai "Caveats", f.caveats, ''
ohai 'Finishing up'
clean f
raise "Nothing was installed to #{f.prefix}" unless f.installed?