Address rubocop issues
This commit is contained in:
		
							parent
							
								
									dd334a8357
								
							
						
					
					
						commit
						e077bfe655
					
				@ -99,7 +99,7 @@ module Homebrew
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
      def check_build_from_source
 | 
			
		||||
        return if !ENV.has_key?("HOMEBREW_BUILD_FROM_SOURCE")
 | 
			
		||||
        return unless ENV.key?("HOMEBREW_BUILD_FROM_SOURCE")
 | 
			
		||||
 | 
			
		||||
        <<-EOS.undent
 | 
			
		||||
          You have HOMEBREW_BUILD_FROM_SOURCE set. This environment variable is
 | 
			
		||||
 | 
			
		||||
@ -89,16 +89,11 @@ following conditions:
 | 
			
		||||
will use a bottled version of the formula, but
 | 
			
		||||
`brew install <formula> --enable-bar` will trigger a source build.
 | 
			
		||||
* The `--build-from-source` option is invoked.
 | 
			
		||||
* The environment variable `HOMEBREW_BUILD_FROM_SOURCE` is set.
 | 
			
		||||
* The machine is not running a supported version of macOS as all
 | 
			
		||||
bottled builds are generated only for supported macOS versions.
 | 
			
		||||
* Homebrew is installed to a prefix other than the standard
 | 
			
		||||
`/usr/local` (although some bottles support this).
 | 
			
		||||
 | 
			
		||||
In order to completely disable bottled builds, simply add a value for
 | 
			
		||||
the environment variable `HOMEBREW_BUILD_FROM_SOURCE` to
 | 
			
		||||
your profile.
 | 
			
		||||
 | 
			
		||||
We aim to bottle everything.
 | 
			
		||||
 | 
			
		||||
## How do I get a formula from someone else’s branch?
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user