bottle: improve outputted messages.
This commit is contained in:
parent
65fc34cd03
commit
5d3d385a65
@ -65,13 +65,14 @@ module Homebrew extend self
|
|||||||
tmp_cellar = '/tmp/Cellar'
|
tmp_cellar = '/tmp/Cellar'
|
||||||
|
|
||||||
HOMEBREW_CELLAR.cd do
|
HOMEBREW_CELLAR.cd do
|
||||||
ohai "Bottling #{f.name} #{f.version}..."
|
ohai "Bottling #{filename}..."
|
||||||
# Use gzip, faster to compress than bzip2, faster to uncompress than bzip2
|
# Use gzip, faster to compress than bzip2, faster to uncompress than bzip2
|
||||||
# or an uncompressed tarball (and more bandwidth friendly).
|
# or an uncompressed tarball (and more bandwidth friendly).
|
||||||
safe_system 'tar', 'czf', bottle_path, "#{f.name}/#{f.version}"
|
safe_system 'tar', 'czf', bottle_path, "#{f.name}/#{f.version}"
|
||||||
sha1 = bottle_path.sha1
|
sha1 = bottle_path.sha1
|
||||||
relocatable = false
|
relocatable = false
|
||||||
|
|
||||||
|
ohai "Detecting if #{filename} is relocatable..."
|
||||||
keg = Keg.new f.prefix
|
keg = Keg.new f.prefix
|
||||||
keg.lock do
|
keg.lock do
|
||||||
# Relocate bottle library references before testing for built-in
|
# Relocate bottle library references before testing for built-in
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user