aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-11-27 20:43:13 +0000
committerMike McQuaid2015-11-27 20:43:13 +0000
commit4a457d191d8136fada802eb203b2769ebd92d130 (patch)
tree8b643e32cd966f5d6f8edb694a7d8b5b5268e604 /Library
parent4c3a6c6022b2ad5e71b7315c275860400af85f20 (diff)
downloadbrew-4a457d191d8136fada802eb203b2769ebd92d130.tar.bz2
formula: fix reference to self.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 5b89f487f..67f2f9f93 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -935,7 +935,7 @@ class Formula
if oldname && !rack.exist? && (dir = HOMEBREW_CELLAR/oldname).directory? &&
!dir.subdirs.empty? && tap == Tab.for_keg(dir.subdirs.first).tap
- raise Migrator::MigrationNeededError.new(f)
+ raise Migrator::MigrationNeededError.new(self)
end
rack.subdirs.each do |keg_dir|