aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/download_strategy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index 646c08c18..cee9f9bec 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -364,7 +364,7 @@ end
class SubversionDownloadStrategy < VCSDownloadStrategy
def cache_tag
- ARGV.build_head? ? "svn-HEAD" : "svn"
+ resource.version.head? ? "svn-HEAD" : "svn"
end
def repo_valid?