Merge pull request #3016 from MikeMcQuaid/no-sandbox-message
sandbox: stop printing message.
This commit is contained in:
commit
1be06bfd14
@ -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
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user