aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2015-04-20 20:31:16 -0400
committerJack Nagel2015-04-20 20:31:16 -0400
commit3318c4074f0a8a888e42c776c7e8aef6e0fbfa2d (patch)
tree977d6012d7396fe1beecdac0e2c323239c9807f8
parent8124695aaa4fbc6b0c68d1db59c9233a98bbc3d0 (diff)
downloadhomebrew-3318c4074f0a8a888e42c776c7e8aef6e0fbfa2d.tar.bz2
Simplify setting load path
-rwxr-xr-xLibrary/brew.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/brew.rb b/Library/brew.rb
index 423580756..64006cc81 100755
--- a/Library/brew.rb
+++ b/Library/brew.rb
@@ -10,7 +10,7 @@ if ARGV == %w{--prefix}
end
require 'pathname'
-HOMEBREW_LIBRARY_PATH = Pathname.new(__FILE__).realpath.dirname.parent.join("Library", "Homebrew")
+HOMEBREW_LIBRARY_PATH = Pathname.new(__FILE__).realpath.parent.join("Homebrew")
$:.unshift(HOMEBREW_LIBRARY_PATH.to_s)
require 'global'