From f223821038a9807ed4ea59ef062c7cc69f751a7d Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Sat, 4 Jan 2014 07:43:29 -0500 Subject: [PATCH] add feedback when downloading a URI source otherwise the user sees the curl progress bar w/o explanation --- lib/cask/source/uri.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/cask/source/uri.rb b/lib/cask/source/uri.rb index d873af99a..9e941d496 100644 --- a/lib/cask/source/uri.rb +++ b/lib/cask/source/uri.rb @@ -12,6 +12,7 @@ class Cask::Source::URI def load HOMEBREW_CACHE_CASKS.mkpath path = HOMEBREW_CACHE_CASKS.join(File.basename(uri)) + ohai "Downloading #{uri}" curl(uri, '-o', path.to_s) Cask::Source::Path.new(path).load rescue ErrorDuringExecution