aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/dub.rb4
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