aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2017-08-07 11:16:36 +0100
committerMike McQuaid2017-08-07 11:16:36 +0100
commit12c454822aff7320cee503c0708d30a99f4a0e0c (patch)
treefa3894cb97b7b942c20f325724a4c87261bc33a6 /Library
parent8e89b9d9d06e52d183b9382fdb316139f1922f27 (diff)
downloadbrew-12c454822aff7320cee503c0708d30a99f4a0e0c.tar.bz2
sandbox: stop printing message.
We’re always using the sandbox where possible now so this is just noise for the vast majority of our users.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/postinstall.rb2
-rw-r--r--Library/Homebrew/dev-cmd/test.rb2
-rw-r--r--Library/Homebrew/formula_installer.rb2
-rw-r--r--Library/Homebrew/sandbox.rb6
4 files changed, 0 insertions, 12 deletions
diff --git a/Library/Homebrew/cmd/postinstall.rb b/Library/Homebrew/cmd/postinstall.rb
index f5d091227..02fd8a5f6 100644
--- a/Library/Homebrew/cmd/postinstall.rb
+++ b/Library/Homebrew/cmd/postinstall.rb
@@ -29,8 +29,6 @@ module Homebrew
args << "--devel"
end
- Sandbox.print_sandbox_message if Sandbox.formula?(formula)
-
Utils.safe_fork do
if Sandbox.formula?(formula)
sandbox = Sandbox.new
diff --git a/Library/Homebrew/dev-cmd/test.rb b/Library/Homebrew/dev-cmd/test.rb
index c678171ac..ab2b0edb0 100644
--- a/Library/Homebrew/dev-cmd/test.rb
+++ b/Library/Homebrew/dev-cmd/test.rb
@@ -65,8 +65,6 @@ module Homebrew
args << "--devel"
end
- Sandbox.print_sandbox_message if Sandbox.test?
-
Utils.safe_fork do
if Sandbox.test?
sandbox = Sandbox.new
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index b2a528381..6c5b8bdab 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -679,8 +679,6 @@ class FormulaInstaller
#{formula.specified_path}
].concat(build_argv)
- Sandbox.print_sandbox_message if Sandbox.formula?(formula)
-
Utils.safe_fork do
# Invalidate the current sudo timestamp in case a build script calls sudo.
# Travis CI's Linux sudoless workers have a weird sudo that fails here.
diff --git a/Library/Homebrew/sandbox.rb b/Library/Homebrew/sandbox.rb
index 0de970773..8c662857e 100644
--- a/Library/Homebrew/sandbox.rb
+++ b/Library/Homebrew/sandbox.rb
@@ -18,12 +18,6 @@ class Sandbox
!ARGV.no_sandbox?
end
- def self.print_sandbox_message
- return if @printed_sandbox_message
- ohai "Using the sandbox"
- @printed_sandbox_message = true
- end
-
def initialize
@profile = SandboxProfile.new
end