diff options
| author | Mike McQuaid | 2012-09-28 19:20:34 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2012-10-03 00:04:24 +0100 |
| commit | 53b387987b54515c2eef7270dbceccb6361f4fc0 (patch) | |
| tree | 5ecd72686530cc6199628c8cef13457fb6138c76 /Library | |
| parent | 33b2a29e1460ef307254dfab9a849dd972e5a5c8 (diff) | |
| download | brew-53b387987b54515c2eef7270dbceccb6361f4fc0.tar.bz2 | |
Fix use of ISSUES_URL.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/exceptions.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/global.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index 34dabee66..7c13522d2 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 31cd14793..81065f8ba 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")) |
