HOMEBREW_PATCHELF_RB_WRITE: Move logic to test-bot
This commit is contained in:
		
							parent
							
								
									8a4299d028
								
							
						
					
					
						commit
						65bc39f952
					
				@ -84,8 +84,6 @@ module Homebrew
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  def bottle
 | 
			
		||||
    ENV["HOMEBREW_NO_PATCHELF_RB_WRITE"] = "1" unless ENV["HOMEBREW_PATCHELF_RB_WRITE"].present?
 | 
			
		||||
 | 
			
		||||
    args = bottle_args.parse
 | 
			
		||||
 | 
			
		||||
    return merge(args: args) if args.merge?
 | 
			
		||||
 | 
			
		||||
@ -101,7 +101,7 @@ module ELFShim
 | 
			
		||||
  def patch!(interpreter: nil, rpath: nil)
 | 
			
		||||
    return if interpreter.blank? && rpath.blank?
 | 
			
		||||
 | 
			
		||||
    if HOMEBREW_PATCHELF_RB_WRITE && ENV["HOMEBREW_NO_PATCHELF_RB_WRITE"].blank?
 | 
			
		||||
    if HOMEBREW_PATCHELF_RB_WRITE
 | 
			
		||||
      save_using_patchelf_rb interpreter, rpath
 | 
			
		||||
    else
 | 
			
		||||
      save_using_patchelf interpreter, rpath
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user