Merge pull request #3016 from MikeMcQuaid/no-sandbox-message

sandbox: stop printing message.
This commit is contained in:
Mike McQuaid 2017-08-07 11:45:36 +01:00 committed by GitHub
commit 1be06bfd14
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