Fix use of ISSUES_URL.
This commit is contained in:
		
							parent
							
								
									33b2a29e14
								
							
						
					
					
						commit
						53b387987b
					
				@ -107,7 +107,7 @@ class BuildError < Homebrew::InstallationError
 | 
			
		||||
    puts
 | 
			
		||||
    onoe "#{formula.name} did not build"
 | 
			
		||||
    puts "Logs: #{logs}" unless Dir["#{logs}/*"].empty?
 | 
			
		||||
    puts "Help: #{Tty.em}https://github.com/mxcl/homebrew/wiki/troubleshooting#{Tty.reset}"
 | 
			
		||||
    puts "Help: #{Tty.em}#{ISSUES_URL}#{Tty.reset}"
 | 
			
		||||
    issues = GitHub.issues_for_formula(formula.name)
 | 
			
		||||
    puts *issues.map{ |s| "      #{Tty.em}#{s}#{Tty.reset}" } unless issues.empty?
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
@ -84,7 +84,7 @@ module Homebrew extend self
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
FORMULA_META_FILES = %w[README README.md ChangeLog CHANGES COPYING LICENSE LICENCE COPYRIGHT AUTHORS]
 | 
			
		||||
ISSUES_URL = "https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist"
 | 
			
		||||
ISSUES_URL = "https://github.com/mxcl/homebrew/wiki/troubleshooting"
 | 
			
		||||
 | 
			
		||||
unless ARGV.include? "--no-compat" or ENV['HOMEBREW_NO_COMPAT']
 | 
			
		||||
  $:.unshift(File.expand_path("#{__FILE__}/../compat"))
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user