зеркало из https://github.com/github/ruby.git
* configure.in (rb_version): greps only the line that defines version.
* version.h (RUBY_VERSION_CODE, RUBY_RELEASE_CODE): removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
8e3bf17b03
Коммит
1eeeb00a0a
|
@ -64,7 +64,7 @@ GNU_LD=$rb_cv_prog_gnu_ld
|
|||
AC_SUBST(GNU_LD)])
|
||||
|
||||
unset GREP_OPTIONS
|
||||
rb_version=`grep RUBY_VERSION $srcdir/version.h`
|
||||
rb_version=`grep '^#define RUBY_VERSION ' $srcdir/version.h`
|
||||
MAJOR=`expr "$rb_version" : '#define RUBY_VERSION "\([0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*"'`
|
||||
MINOR=`expr "$rb_version" : '#define RUBY_VERSION "[0-9][0-9]*\.\([0-9][0-9]*\)\.[0-9][0-9]*"'`
|
||||
TEENY=`expr "$rb_version" : '#define RUBY_VERSION "[0-9][0-9]*\.[0-9][0-9]*\.\([0-9][0-9]*\)"'`
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
#define RUBY_VERSION "1.9.1"
|
||||
#define RUBY_RELEASE_DATE "2008-12-12"
|
||||
#define RUBY_VERSION_CODE 191
|
||||
#define RUBY_RELEASE_CODE 20081212
|
||||
#define RUBY_PATCHLEVEL 5000
|
||||
|
||||
#define RUBY_VERSION_MAJOR 1
|
||||
|
|
Загрузка…
Ссылка в новой задаче