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

postinstall: sanitize ARGV options

parent 8c4bd3da
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,12 @@ module Homebrew
#{formula.path}
].concat(ARGV.options_only)
if formula.head?
args << "--HEAD"
elsif formula.devel?
args << "--devel"
end
if Sandbox.available? && ARGV.sandbox?
if Sandbox.auto_disable?
Sandbox.print_autodisable_warning
......
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