From 996f93afc38481332bc552f7a77d74f3dde38981 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 9 Dec 2014 15:10:13 -0500 Subject: Use quiet_safe_system where applicable --- Library/Formula/dub.rb | 2 +- Library/Formula/freeimage.rb | 2 +- Library/Formula/qt5.rb | 4 ++-- Library/Formula/saltstack.rb | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/dub.rb b/Library/Formula/dub.rb index 4aa86fc98..36928231d 100644 --- a/Library/Formula/dub.rb +++ b/Library/Formula/dub.rb @@ -5,7 +5,7 @@ require "formula" class DubHeadDownloadStrategy < GitDownloadStrategy def stage cached_location.cd { reset } - safe_system "git", "clone", cached_location, "." + quiet_safe_system "git", "clone", cached_location, "." end end diff --git a/Library/Formula/freeimage.rb b/Library/Formula/freeimage.rb index 8634984c4..5c84a415d 100644 --- a/Library/Formula/freeimage.rb +++ b/Library/Formula/freeimage.rb @@ -3,7 +3,7 @@ require 'formula' class FreeimageHttpDownloadStrategy < CurlDownloadStrategy def stage # need to convert newlines or patch chokes - safe_system '/usr/bin/unzip', '-aaqq', @tarball_path + quiet_safe_system "/usr/bin/unzip", { :quiet_flag => "-qq" }, "-aa", cached_location chdir end end diff --git a/Library/Formula/qt5.rb b/Library/Formula/qt5.rb index 49bff7040..1a12f5dc9 100644 --- a/Library/Formula/qt5.rb +++ b/Library/Formula/qt5.rb @@ -5,9 +5,9 @@ class Qt5HeadDownloadStrategy < GitDownloadStrategy def stage cached_location.cd { reset } - safe_system "git", "clone", cached_location, "." + quiet_safe_system "git", "clone", cached_location, "." ln_s cached_location, "qt" - safe_system "./init-repository", "--mirror", "#{Dir.pwd}/" + quiet_safe_system "./init-repository", "--mirror", "#{Dir.pwd}/" rm "qt" end end diff --git a/Library/Formula/saltstack.rb b/Library/Formula/saltstack.rb index 8605aa67a..b5680d0c0 100644 --- a/Library/Formula/saltstack.rb +++ b/Library/Formula/saltstack.rb @@ -6,7 +6,7 @@ require "formula" class SaltHeadDownloadStrategy < GitDownloadStrategy def stage cached_location.cd { reset } - safe_system "git", "clone", cached_location, "." + quiet_safe_system "git", "clone", cached_location, "." end end -- cgit v1.2.3