aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAdam Vandenberg2010-05-31 14:15:26 -0700
committerAdam Vandenberg2010-07-03 23:22:51 -0700
commit4ed3509c56a72aa9774dcf3769b1bba3ec7a705c (patch)
tree7f598e88d773db6bfe88bd5f9b6673b9533bf7be /bin
parent94c47327c0d2bcd35b0787a2d51e78f631a066e6 (diff)
downloadhomebrew-4ed3509c56a72aa9774dcf3769b1bba3ec7a705c.tar.bz2
Move data into updater class
Diffstat (limited to 'bin')
-rwxr-xr-xbin/brew3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/brew b/bin/brew
index e6d231ff6..a07ae29da 100755
--- a/bin/brew
+++ b/bin/brew
@@ -163,11 +163,10 @@ begin
require 'update'
updater = RefreshBrew.new
- old_revision = updater.current_revision
unless updater.update_from_masterbrew!
puts "Already up-to-date."
else
- puts "Updated Homebrew from #{old_revision[0,8]} to #{updater.current_revision[0,8]}."
+ puts "Updated Homebrew from #{updater.initial_revision[0,8]} to #{updater.current_revision[0,8]}."
## New Formulae
if updater.pending_new_formulae?
ohai "The following formulae are new:"