From 40c8af111f69d3d4668d113697c697e57b902ec0 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 31 May 2010 14:15:26 -0700 Subject: Move data into updater class --- bin/brew | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin') 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:" -- cgit v1.2.3