aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/keg.rb9
-rw-r--r--Library/Homebrew/keg_fix_install_names.rb2
2 files changed, 5 insertions, 6 deletions
diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb
index 32680d35e..d40b53d99 100644
--- a/Library/Homebrew/keg.rb
+++ b/Library/Homebrew/keg.rb
@@ -1,6 +1,7 @@
-require 'extend/pathname'
-require 'formula_lock'
-require 'ostruct'
+require "extend/pathname"
+require "keg_fix_install_names"
+require "formula_lock"
+require "ostruct"
class Keg < Pathname
def initialize path
@@ -311,5 +312,3 @@ class Keg < Pathname
end
end
end
-
-require 'keg_fix_install_names'
diff --git a/Library/Homebrew/keg_fix_install_names.rb b/Library/Homebrew/keg_fix_install_names.rb
index 7356efcd2..22c3af848 100644
--- a/Library/Homebrew/keg_fix_install_names.rb
+++ b/Library/Homebrew/keg_fix_install_names.rb
@@ -1,4 +1,4 @@
-class Keg
+class Keg < Pathname
PREFIX_PLACEHOLDER = "@@HOMEBREW_PREFIX@@".freeze
CELLAR_PLACEHOLDER = "@@HOMEBREW_CELLAR@@".freeze