From 4f8c46d62791a7f39c7b98b7f989a5b70eaaf400 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Wed, 2 Sep 2009 14:52:44 +0100 Subject: Only time the build, not the download too --- Library/Homebrew/brew.h.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Library') 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 -- cgit v1.2.3