Skip to content
Snippets Groups Projects
Unverified Commit af3ad3cb authored by Xu Cheng's avatar Xu Cheng
Browse files

disable sandbox for 10.5


Although `sandbox-exec` is available in 10.5, it has very limit
support on the DSL for sandbox profile file(.sb file). Therefore,
sandbox for Homebrew on 10.5 is broken.

Closes #735.

Signed-off-by: default avatarXu Cheng <git@xuc.me>
parent 91c5dee5
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ class Sandbox
].freeze
def self.available?
OS.mac? && File.executable?(SANDBOX_EXEC)
OS.mac? && OS::Mac.version >= "10.6" && File.executable?(SANDBOX_EXEC)
end
def self.formula?(formula)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment