Fix support for HOMEBREW_EDITOR with args.
				
					
				
			This commit is contained in:
		
							parent
							
								
									8ce7b1d39c
								
							
						
					
					
						commit
						75aa369102
					
				@ -321,7 +321,7 @@ end
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
def exec_editor(*args)
 | 
					def exec_editor(*args)
 | 
				
			||||||
  puts "Editing #{args.join "\n"}"
 | 
					  puts "Editing #{args.join "\n"}"
 | 
				
			||||||
  with_homebrew_path { safe_system(which_editor, *args) }
 | 
					  with_homebrew_path { safe_system(*which_editor.shellsplit, *args) }
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def exec_browser(*args)
 | 
					def exec_browser(*args)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user