aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2009-09-02 14:52:44 +0100
committerMax Howell2009-09-02 15:44:10 +0100
commit4f8c46d62791a7f39c7b98b7f989a5b70eaaf400 (patch)
tree7f055e6c07fb7748b3ef34cf7132dcd0b20e2443 /Library
parent6006c51804c1deda4d4f7bd081b251053e3bad63 (diff)
downloadbrew-4f8c46d62791a7f39c7b98b7f989a5b70eaaf400.tar.bz2
Only time the build, not the download too
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/brew.h.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/brew.h.rb b/Library/Homebrew/brew.h.rb
index 124fda318..d688cd937 100644
--- a/Library/Homebrew/brew.h.rb
+++ b/Library/Homebrew/brew.h.rb
@@ -150,16 +150,19 @@ def install f
puts "Type `exit' to return and finalize the installation"
puts "Install to this prefix: #{f.prefix}"
interactive_shell
+ nil
elsif ARGV.include? '--help'
system './configure --help'
exit $?
else
f.prefix.mkpath
+ beginning=Time.now
f.install
%w[README ChangeLog COPYING LICENSE COPYRIGHT AUTHORS].each do |file|
FileUtils.mv "#{file}.txt", file rescue nil
f.prefix.install file rescue nil
end
+ return Time.now-beginning
end
end
end