HttpDownloadStrategy renamed CurlDownloadStrategy
Because people didn't realise it was actually curl and thus supports eg. ftp too.
This commit is contained in:
parent
7a1ecdc5a0
commit
98657bf094
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
require 'brewkit'
|
||||
|
||||
# even though "file -b" reports this as a zip archive, it's just a binary
|
||||
class SbtHttpDownloadStrategy <HttpDownloadStrategy
|
||||
class SbtHttpDownloadStrategy <CurlDownloadStrategy
|
||||
def stage
|
||||
FileUtils.mv @dl, File.basename(@url)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue