aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/download_strategy.rb
diff options
context:
space:
mode:
authorJack Nagel2014-12-06 20:57:23 -0500
committerJack Nagel2014-12-06 20:57:23 -0500
commit5e77444b8e8af42859cb4b35387543f40de625ce (patch)
tree8fcc1fda87b238b3d9f82f6f52a2157f9b13a759 /Library/Homebrew/download_strategy.rb
parentfe9cfa83f8409841ff4c24ed16c0b84610087596 (diff)
downloadhomebrew-5e77444b8e8af42859cb4b35387543f40de625ce.tar.bz2
Use quiet_safe_system to silence submodule checkouts
Diffstat (limited to 'Library/Homebrew/download_strategy.rb')
-rw-r--r--Library/Homebrew/download_strategy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index c1a1945b3..af98256b9 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -595,7 +595,7 @@ class GitDownloadStrategy < VCSDownloadStrategy
def checkout_submodules(dst)
escaped_clone_path = @clone.to_s.gsub(/\//, '\/')
sub_cmd = "git checkout-index -a -f --prefix=#{dst}/${toplevel/#{escaped_clone_path}/}/$path/"
- safe_system 'git', 'submodule', '--quiet', 'foreach', '--recursive', sub_cmd
+ quiet_safe_system "git", "submodule", "foreach", "--recursive", sub_cmd
end
end