diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index 34dabee66b..7c13522d29 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -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 diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb index 31cd147936..81065f8baf 100644 --- a/Library/Homebrew/global.rb +++ b/Library/Homebrew/global.rb @@ -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"))