From e91f359a56f8c798a35df06ab028af85ee423ddf Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 15 Jun 2014 23:31:58 -0500 Subject: [PATCH] Remove an unnecessary use of ARGV.build_head? --- Library/Homebrew/download_strategy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 646c08c18c..cee9f9bec5 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?