diff options
| author | Jack Nagel | 2014-12-22 00:43:02 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-12-22 00:43:02 -0500 |
| commit | df70d960f871104250236fc264eb56db2b3d91aa (patch) | |
| tree | ef18ec89e85c1b9501a141c52099e807cc3cb582 /Library | |
| parent | 8a1ed0e748baa6bd8ee2a18debd1beee5686020b (diff) | |
| download | brew-df70d960f871104250236fc264eb56db2b3d91aa.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 |
