diff options
| author | Randy Thiemann | 2013-01-15 10:28:07 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2013-01-19 23:13:01 +0000 |
| commit | 766bc13cfbed01e6d2aabfd625932eb48ef2ccaf (patch) | |
| tree | 9f7252738b7547e45f78b63b67655b7df6053abc /Library/Homebrew | |
| parent | b5687424287760f9b6a76a8c26c80d5edda517a8 (diff) | |
| download | brew-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/Homebrew')
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 4 |
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 |
