Fix support for HOMEBREW_EDITOR with args.

This commit is contained in:
Markus Reiter 2019-04-03 23:49:37 +02:00
parent 8ce7b1d39c
commit 75aa369102

View File

@ -321,7 +321,7 @@ end
def exec_editor(*args)
puts "Editing #{args.join "\n"}"
with_homebrew_path { safe_system(which_editor, *args) }
with_homebrew_path { safe_system(*which_editor.shellsplit, *args) }
end
def exec_browser(*args)