bottles: update version regex messaging.

This commit is contained in:
Mike McQuaid 2013-08-04 08:25:51 -07:00
parent 98c3d39e65
commit 5104fd21a5
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ module Homebrew extend self
filename = bottle_filename f, bottle_revision filename = bottle_filename f, bottle_revision
if bottle_filename_formula_name(filename).empty? if bottle_filename_formula_name(filename).empty?
return ofail "Add a new version regex to version.rb to parse the bottle filename." return ofail "Add a new regex to bottle_version.rb to parse the bottle filename."
end end
bottle_path = Pathname.pwd/filename bottle_path = Pathname.pwd/filename

View File

@ -62,7 +62,7 @@ class Formulary
name_without_version = bottle_filename_formula_name @bottle_filename name_without_version = bottle_filename_formula_name @bottle_filename
if name_without_version.empty? if name_without_version.empty?
if ARGV.homebrew_developer? if ARGV.homebrew_developer?
opoo "Add a new version regex to version.rb to parse this filename." opoo "Add a new regex to bottle_version.rb to parse this filename."
end end
@name = bottle_name @name = bottle_name
else else