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.
This commit is contained in:
Mike McQuaid 2017-08-07 11:16:36 +01:00
parent 8e89b9d9d0
commit 12c454822a
4 changed files with 0 additions and 12 deletions

View File

@ -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

View File

@ -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

View File

@ -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.

View File

@ -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