aboutsummaryrefslogtreecommitdiffstats
path: root/Library
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
parentf84c58ce09a9fdd557597d7aa3e4be46936f6e88 (diff)
downloadhomebrew-9880ace3ed935d7bf735c149f0bf9f3ce72e08d1.tar.bz2
Formula#downloader should not be used directly
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/docker.rb2
-rw-r--r--Library/Formula/hub.rb2
-rw-r--r--Library/Formula/sip.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/docker.rb b/Library/Formula/docker.rb
index 8256d0197..07d77d290 100644
--- a/Library/Formula/docker.rb
+++ b/Library/Formula/docker.rb
@@ -25,7 +25,7 @@ class Docker < Formula
depends_on "go" => :build
def install
- ENV["GIT_DIR"] = downloader.cached_location/".git"
+ ENV["GIT_DIR"] = cached_download/".git"
ENV["AUTO_GOPATH"] = "1"
system "hack/make.sh", "dynbinary"
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}"
diff --git a/Library/Formula/sip.rb b/Library/Formula/sip.rb
index de479e522..997a5eed8 100644
--- a/Library/Formula/sip.rb
+++ b/Library/Formula/sip.rb
@@ -28,7 +28,7 @@ class Sip < Formula
if build.head?
# Link the Mercurial repository into the download directory so
# build.py can use it to figure out a version number.
- ln_s downloader.cached_location + ".hg", ".hg"
+ ln_s cached_download + ".hg", ".hg"
# build.py doesn't run with python3
system "python", "build.py", "prepare"
end