mirror: invoke correct curl
Remove remaining use of `system "curl"` in favor of the `curl` function.
This commit is contained in:
parent
7506abe5be
commit
49157dbf17
@ -26,7 +26,7 @@ module Homebrew
|
||||
bintray_repo_url = "https://api.bintray.com/packages/homebrew/mirror"
|
||||
package_url = "#{bintray_repo_url}/#{bintray_package}"
|
||||
|
||||
unless system "curl", "--silent", "--fail", "--output", "/dev/null", package_url
|
||||
unless curl "--silent", "--fail", "--output", "/dev/null", package_url
|
||||
package_blob = <<~EOS
|
||||
{"name": "#{bintray_package}",
|
||||
"public_download_numbers": true,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user