aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorRandy Thiemann2013-01-15 10:28:07 +0100
committerMike McQuaid2013-01-19 23:13:01 +0000
commit766bc13cfbed01e6d2aabfd625932eb48ef2ccaf (patch)
tree9f7252738b7547e45f78b63b67655b7df6053abc /Library
parentb5687424287760f9b6a76a8c26c80d5edda517a8 (diff)
downloadbrew-766bc13cfbed01e6d2aabfd625932eb48ef2ccaf.tar.bz2
Allow hiding Homebrew emoji with an env var.
Closes Homebrew/homebrew#17085. Closes Homebrew/homebrew#17086. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_installer.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index db9ade9ca..3c8066120 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -181,7 +181,9 @@ class FormulaInstaller
fix_install_names
ohai "Summary" if ARGV.verbose? or show_summary_heading
- print "🍺 " if MacOS.version >= :lion
+ unless ENV['HOMEBREW_NO_EMOJI']
+ print "🍺 " if MacOS.version >= :lion
+ end
print "#{f.prefix}: #{f.prefix.abv}"
print ", built in #{pretty_duration build_time}" if build_time
puts