aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2015-04-20 20:31:16 -0400
committerJack Nagel2015-04-20 20:31:16 -0400
commit136bc02374e173c6883b38b7e093082bbf667471 (patch)
tree7666c3db7dfe945d7b6ab4e9f51445e38eded5b3 /Library
parent11c513efbd0ab4959dcf54dea3886eb76c57798d (diff)
downloadbrew-136bc02374e173c6883b38b7e093082bbf667471.tar.bz2
Simplify setting load path
Diffstat (limited to 'Library')
-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'