aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/verify
diff options
context:
space:
mode:
authorMarkus Reiter2017-08-04 16:24:29 +0200
committerMarkus Reiter2017-08-07 21:31:17 +0200
commitdc5a2c1764b1da3cfa85d8910338eb72cd4da96c (patch)
treec8acbd7b6986db02f8f49b4116fe4f3d594f3d65 /Library/Homebrew/cask/lib/hbc/verify
parentfb59e79689b15d71e6090d0f6f1f39f4d69800b1 (diff)
downloadbrew-dc5a2c1764b1da3cfa85d8910338eb72cd4da96c.tar.bz2
Simplify CurlDownloadStrategy.
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/verify')
-rw-r--r--Library/Homebrew/cask/lib/hbc/verify/gpg.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/verify/gpg.rb b/Library/Homebrew/cask/lib/hbc/verify/gpg.rb
index dbb537756..f4996a5b5 100644
--- a/Library/Homebrew/cask/lib/hbc/verify/gpg.rb
+++ b/Library/Homebrew/cask/lib/hbc/verify/gpg.rb
@@ -33,7 +33,7 @@ module Hbc
meta_dir = cached || cask.metadata_subdir("gpg", :now, true)
sig_path = meta_dir.join("signature.asc")
- curl(cask.gpg.signature, "-o", sig_path.to_s) unless cached || force
+ curl_download cask.gpg.signature, to: sig_path unless cached || force
sig_path
end