diff options
| author | Alexis Hildebrandt | 2013-10-11 10:53:50 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2013-11-15 07:50:23 -0800 |
| commit | 7f86794ce1576a8b70ca186c8763d8d59eb3747e (patch) | |
| tree | c16d783e1238ba474bef911088bfdb2c3660b9b3 /Library/Homebrew | |
| parent | 931f879f5a1fb1512836274a65d3e57dc5e229c1 (diff) | |
| download | homebrew-7f86794ce1576a8b70ca186c8763d8d59eb3747e.tar.bz2 | |
Add HOMEBREW_INSTALL_BADGE environment variable
with which the beer emoji displayed upon successful build
can be changed.
Closes #23194.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 156e1737f..c0348fe51 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -314,7 +314,7 @@ class FormulaInstaller ohai "Summary" if ARGV.verbose? or show_summary_heading unless ENV['HOMEBREW_NO_EMOJI'] - print "\xf0\x9f\x8d\xba " if MacOS.version >= :lion + print "#{ENV['HOMEBREW_INSTALL_BADGE'] || "\xf0\x9f\x8d\xba"} " if MacOS.version >= :lion end print "#{f.prefix}: #{f.prefix.abv}" print ", built in #{pretty_duration build_time}" if build_time |
