diff options
| author | Jack Nagel | 2014-12-22 00:43:02 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-12-22 00:43:02 -0500 | 
| commit | 6378c2c1ccd9cf27b6fc546976a62e4d6d391211 (patch) | |
| tree | e438d53ddb5a85c55f0d8b71eea69c8f1d512efd /Library | |
| parent | 0236384c6d94ed6159383032f753de9d0ab2f74f (diff) | |
| download | homebrew-6378c2c1ccd9cf27b6fc546976a62e4d6d391211.tar.bz2 | |
Assume CVS module name when none is given
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 3f94ccbd1..1e3070217 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -645,6 +645,8 @@ class CVSDownloadStrategy < VCSDownloadStrategy      if meta.key?(:module)        @module = meta.fetch(:module) +    elsif @url !~ %r[:[^/]+$] +      @module = name      else        @module, @url = split_url(@url)      end | 
