diff options
| author | Jack Nagel | 2014-06-15 23:31:58 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-15 23:31:58 -0500 |
| commit | e91f359a56f8c798a35df06ab028af85ee423ddf (patch) | |
| tree | 35c57d4f922db2cfa1fcf451b8e5588d9f9692e3 /Library/Homebrew | |
| parent | 5c24876d024e3789fe5e87e31e9315c0eb1dfee6 (diff) | |
| download | brew-e91f359a56f8c798a35df06ab028af85ee423ddf.tar.bz2 | |
Remove an unnecessary use of ARGV.build_head?
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 2 |
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? |
