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"
|
args << "--devel"
|
||||||
end
|
end
|
||||||
|
|
||||||
Sandbox.print_sandbox_message if Sandbox.formula?(formula)
|
|
||||||
|
|
||||||
Utils.safe_fork do
|
Utils.safe_fork do
|
||||||
if Sandbox.formula?(formula)
|
if Sandbox.formula?(formula)
|
||||||
sandbox = Sandbox.new
|
sandbox = Sandbox.new
|
||||||
|
@ -65,8 +65,6 @@ module Homebrew
|
|||||||
args << "--devel"
|
args << "--devel"
|
||||||
end
|
end
|
||||||
|
|
||||||
Sandbox.print_sandbox_message if Sandbox.test?
|
|
||||||
|
|
||||||
Utils.safe_fork do
|
Utils.safe_fork do
|
||||||
if Sandbox.test?
|
if Sandbox.test?
|
||||||
sandbox = Sandbox.new
|
sandbox = Sandbox.new
|
||||||
|
@ -679,8 +679,6 @@ class FormulaInstaller
|
|||||||
#{formula.specified_path}
|
#{formula.specified_path}
|
||||||
].concat(build_argv)
|
].concat(build_argv)
|
||||||
|
|
||||||
Sandbox.print_sandbox_message if Sandbox.formula?(formula)
|
|
||||||
|
|
||||||
Utils.safe_fork do
|
Utils.safe_fork do
|
||||||
# Invalidate the current sudo timestamp in case a build script calls sudo.
|
# 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.
|
# Travis CI's Linux sudoless workers have a weird sudo that fails here.
|
||||||
|
@ -18,12 +18,6 @@ class Sandbox
|
|||||||
!ARGV.no_sandbox?
|
!ARGV.no_sandbox?
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.print_sandbox_message
|
|
||||||
return if @printed_sandbox_message
|
|
||||||
ohai "Using the sandbox"
|
|
||||||
@printed_sandbox_message = true
|
|
||||||
end
|
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
@profile = SandboxProfile.new
|
@profile = SandboxProfile.new
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user