Merge pull request #4322 from ilovezfs/formula_installer-postinstall-spec

formula_installer: don't pass spec arguments from ARGV to postinstall
This commit is contained in:
ilovezfs 2018-06-10 06:53:31 -07:00 committed by GitHub
commit 5614f114ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -858,7 +858,7 @@ class FormulaInstaller
--
#{HOMEBREW_LIBRARY_PATH}/postinstall.rb
#{formula.path}
].concat(ARGV.options_only)
].concat(ARGV.options_only) - ["--HEAD", "--devel"]
if formula.head?
args << "--HEAD"