bottles: update version regex messaging.
This commit is contained in:
parent
98c3d39e65
commit
5104fd21a5
@ -53,7 +53,7 @@ module Homebrew extend self
|
||||
filename = bottle_filename f, bottle_revision
|
||||
|
||||
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
|
||||
|
||||
bottle_path = Pathname.pwd/filename
|
||||
|
||||
@ -62,7 +62,7 @@ class Formulary
|
||||
name_without_version = bottle_filename_formula_name @bottle_filename
|
||||
if name_without_version.empty?
|
||||
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
|
||||
@name = bottle_name
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user