mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* mkconfig.rb, ext/configsub.rb: VERSION -> RUBY_VERSION.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a0047c7d89
commit
ac41cd6844
3 changed files with 9 additions and 5 deletions
|
@ -3,7 +3,7 @@
|
|||
BEGIN {
|
||||
CONFIG = {}
|
||||
|
||||
VERSION.scan(/(\d+)\.(\d+)\.(\d+)/) do
|
||||
RUBY_VERSION.scan(/(\d+)\.(\d+)\.(\d+)/) do
|
||||
# overridden if config.status has version
|
||||
CONFIG['MAJOR'] = $1
|
||||
CONFIG['MINOR'] = $2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue