aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/verify
diff options
context:
space:
mode:
authorMarkus Reiter2017-08-08 18:10:13 +0200
committerMarkus Reiter2017-08-08 18:10:13 +0200
commitae4bafdb365cfa380d129b0a03bd99a1e4d960a4 (patch)
treeab63c314bed39e41dfe47273902ca14c15515c23 /Library/Homebrew/cask/lib/hbc/verify
parentb6b8e8863fe70fbdfd0758dd72127de0a96e329f (diff)
downloadbrew-ae4bafdb365cfa380d129b0a03bd99a1e4d960a4.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