aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/download_strategy.rb
diff options
context:
space:
mode:
authorJack Nagel2014-12-18 20:09:52 -0500
committerJack Nagel2014-12-18 20:09:52 -0500
commitd811b9bada2906c939f9c72f538a83f1cf71bda6 (patch)
tree271102213fb29150a6bc75be7055cf7a4a310845 /Library/Homebrew/download_strategy.rb
parenta6ab9f138ffeeece07f71e54788091e9b98256db (diff)
downloadhomebrew-d811b9bada2906c939f9c72f538a83f1cf71bda6.tar.bz2
Fix references to url
Diffstat (limited to 'Library/Homebrew/download_strategy.rb')
-rw-r--r--Library/Homebrew/download_strategy.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index e4f678077..9cb56cd21 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -713,7 +713,7 @@ class MercurialDownloadStrategy < VCSDownloadStrategy
end
def clone_repo
- safe_system hgpath, "clone", url, cached_location
+ safe_system hgpath, "clone", @url, cached_location
end
def update
@@ -746,7 +746,7 @@ class BazaarDownloadStrategy < VCSDownloadStrategy
def clone_repo
# "lightweight" means history-less
- safe_system bzrpath, "checkout", "--lightweight", url, cached_location
+ safe_system bzrpath, "checkout", "--lightweight", @url, cached_location
end
def update
@@ -774,7 +774,7 @@ class FossilDownloadStrategy < VCSDownloadStrategy
end
def clone_repo
- safe_system fossilpath, "clone", url, cached_location
+ safe_system fossilpath, "clone", @url, cached_location
end
def update