aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/hub.rb
diff options
context:
space:
mode:
authorJack Nagel2014-02-21 00:41:07 -0500
committerJack Nagel2014-02-21 00:41:07 -0500
commit9880ace3ed935d7bf735c149f0bf9f3ce72e08d1 (patch)
treef094a906bcd8d79c7965edd04b0f91b4dbc6f97d /Library/Formula/hub.rb
parentf84c58ce09a9fdd557597d7aa3e4be46936f6e88 (diff)
downloadhomebrew-9880ace3ed935d7bf735c149f0bf9f3ce72e08d1.tar.bz2
Formula#downloader should not be used directly
Diffstat (limited to 'Library/Formula/hub.rb')
-rw-r--r--Library/Formula/hub.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/hub.rb b/Library/Formula/hub.rb
index 9772cb380..10534520b 100644
--- a/Library/Formula/hub.rb
+++ b/Library/Formula/hub.rb
@@ -9,7 +9,7 @@ class Hub < Formula
option 'without-completions', 'Disable bash/zsh completions'
def install
- ENV['GIT_DIR'] = downloader.cached_location/'.git' if build.head?
+ ENV['GIT_DIR'] = cached_download/'.git' if build.head?
rake "install", "prefix=#{prefix}"