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
commit40c8af111f69d3d4668d113697c697e57b902ec0 (patch)
tree3cff41b333cb5256afe392d6d9be49b7e9035f52 /bin
parent14d84be78e5ba15affa009bd0012e3ab2f24d74c (diff)
downloadbrew-40c8af111f69d3d4668d113697c697e57b902ec0.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:"