From d97daa7c1b2203be02c69124bc7b3ae5f2b50f99 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 18 Dec 2014 20:09:52 -0500 Subject: [PATCH] Fix references to url --- Library/Homebrew/download_strategy.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index e4f6780778..9cb56cd218 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