diff options
| author | Jack Nagel | 2014-12-09 14:22:35 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-12-09 14:22:44 -0500 |
| commit | bd918dd9f8a815a734e0191dea947b042107d7f7 (patch) | |
| tree | 9481c5ad0158ecb3171dcfd7f3b3ecd8f0154242 /Library/Formula | |
| parent | 609c97926646a9652fac7ec789dc8a7d50eb72ef (diff) | |
| download | homebrew-bd918dd9f8a815a734e0191dea947b042107d7f7.tar.bz2 | |
saltstack: prefer cached_location method over @clone ivar
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/saltstack.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/saltstack.rb b/Library/Formula/saltstack.rb index a801f28db..8605aa67a 100644 --- a/Library/Formula/saltstack.rb +++ b/Library/Formula/saltstack.rb @@ -5,8 +5,8 @@ require "formula" # This is populated from git information unfortunately. class SaltHeadDownloadStrategy < GitDownloadStrategy def stage - @clone.cd {reset} - safe_system "git", "clone", @clone, "." + cached_location.cd { reset } + safe_system "git", "clone", cached_location, "." end end |
