From 5e77444b8e8af42859cb4b35387543f40de625ce Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 6 Dec 2014 20:57:23 -0500 Subject: Use quiet_safe_system to silence submodule checkouts --- Library/Homebrew/download_strategy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3