Skip to content

Commit

Permalink
eban
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
eban committed Sep 27, 2000
1 parent 5b7a252 commit a2aa559
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Wed Sep 27 16:13:05 2000 WATANABE Hirofumi <eban@ruby-lang.org>

* mkconfig.rb: variables should be expanded only if /\$\{?\w+\}?/.

Tue Sep 26 18:09:51 2000 WATANABE Hirofumi <eban@ruby-lang.org>

* string.c: include <math.h>
Expand Down
2 changes: 1 addition & 1 deletion mkconfig.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module Config
next if $install_name and name =~ /^RUBY_INSTALL_NAME$/
next if $so_name and name =~ /^RUBY_SO_NAME$/
v = " CONFIG[\"" + name + "\"] = " +
val.sub(/^\s*(.*)\s*$/, '"\1"').gsub(/\$\{?([^(){}]+)\}?/) {
val.sub(/^\s*(.*)\s*$/, '"\1"').gsub(/\$\{?(\w+)\}?/) {
"\#{CONFIG[\\\"#{$1}\\\"]}"
} + "\n"
if fast[name]
Expand Down
4 changes: 2 additions & 2 deletions version.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define RUBY_VERSION "1.6.1"
#define RUBY_RELEASE_DATE "2000-09-26"
#define RUBY_RELEASE_DATE "2000-09-27"
#define RUBY_VERSION_CODE 161
#define RUBY_RELEASE_CODE 20000926
#define RUBY_RELEASE_CODE 20000927

0 comments on commit a2aa559

Please sign in to comment.