diff options
| author | Jack Nagel | 2014-12-09 14:22:35 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-12-09 14:22:44 -0500 |
| commit | fb69ad92598d074319170ff61a8e6ab016829fc2 (patch) | |
| tree | a956997c533368bf9ae902a89bdecac41900b3ee /Library | |
| parent | ab942d3bb6ab1345313fad93ec7393bdb0dcc39f (diff) | |
| download | homebrew-fb69ad92598d074319170ff61a8e6ab016829fc2.tar.bz2 | |
dub: prefer cached_location method over @clone ivar
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/dub.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/dub.rb b/Library/Formula/dub.rb index 64902c07c..4aa86fc98 100644 --- a/Library/Formula/dub.rb +++ b/Library/Formula/dub.rb @@ -4,8 +4,8 @@ require "formula" # To not break this, we provide a custom download strategy. class DubHeadDownloadStrategy < GitDownloadStrategy def stage - @clone.cd {reset} - safe_system "git", "clone", @clone, "." + cached_location.cd { reset } + safe_system "git", "clone", cached_location, "." end end |
