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

test: sanitize ARGV options

Otherwise, it will use the wrong prefix to test devel/HEAD install.
parent 60ba8bee
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,12 @@ module Homebrew
#{f.path}
].concat(ARGV.options_only)
if f.head?
args << "--HEAD"
elsif f.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