aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/migrator.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/migrator.rb')
-rw-r--r--Library/Homebrew/migrator.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/migrator.rb b/Library/Homebrew/migrator.rb
index 5d6f5d4e6..550f8e51a 100644
--- a/Library/Homebrew/migrator.rb
+++ b/Library/Homebrew/migrator.rb
@@ -107,8 +107,8 @@ class Migrator
@new_linked_keg_record = HOMEBREW_CELLAR/"#{newname}/#{File.basename(old_linked_keg)}"
end
- @old_pin_record = HOMEBREW_LIBRARY/"PinnedKegs"/oldname
- @new_pin_record = HOMEBREW_LIBRARY/"PinnedKegs"/newname
+ @old_pin_record = HOMEBREW_PINNED_KEGS/oldname
+ @new_pin_record = HOMEBREW_PINNED_KEGS/newname
@pinned = old_pin_record.symlink?
@old_pin_link_record = old_pin_record.readlink if @pinned
end