diff options
| author | Max Howell | 2009-12-01 10:52:21 +0000 |
|---|---|---|
| committer | Max Howell | 2009-12-01 12:07:34 +0000 |
| commit | b5d132eca798e4cc1a37da6ea9ddfda32c2fa5e6 (patch) | |
| tree | ba4661ce4ffcdb650e45bfd6124b2e64b1ceb501 | |
| parent | 7ced6aaf9eae1e5be2763b166f95497b7929ad97 (diff) | |
| download | homebrew-b5d132eca798e4cc1a37da6ea9ddfda32c2fa5e6.tar.bz2 | |
We can't rely on the $: order
Some gems and libraries seem to change the order.
| -rwxr-xr-x | bin/brew | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -8,7 +8,8 @@ Dir.getwd rescue abort "The current working directory doesn't exist, cannot proc HOMEBREW_BREW_FILE = ENV['HOMEBREW_BREW_FILE'] = File.expand_path(__FILE__) require 'pathname' -$:.unshift((Pathname.new(__FILE__).realpath.dirname.parent+"Library"+"Homebrew").to_s) +HOMEBREW_LIBRARY_PATH = (Pathname.new(__FILE__).realpath.dirname.parent+"Library"+"Homebrew").to_s +$:.unshift(HOMEBREW_LIBRARY_PATH) require 'global' case ARGV.first @@ -56,7 +57,7 @@ HOMEBREW_PREFIX: #{HOMEBREW_PREFIX} HOMEBREW_CELLAR: #{HOMEBREW_CELLAR} HOMEBREW_CACHE: #{HOMEBREW_CACHE} HOMEBREW_REPOSITORY: #{HOMEBREW_REPOSITORY} -Library Path: #{$:.first} +HOMEBREW_LIBRARY_PATH: #{HOMEBREW_LIBRARY_PATH} Hardware: #{cores}-core #{bits}-bit #{Hardware.intel_family} OS X: #{MACOS_FULL_VERSION} Kernel Architecture: #{kernel_arch} |
