diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-02 08:14:06 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-02 08:14:06 +0000 |
commit | b204d48f76b92d62c3940cfc17bdb68156e5f5f2 () | |
tree | a2942de305669a58259eeb62cf7cb4d46d8d759b /win32/resource.rb | |
parent | 29bd89281b296a1f72ed50936028ce88a8e3a736 (diff) |
* mkconfig.rb: level is somtimes minus.
* win32/resource.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rwxr-xr-x | win32/resource.rb | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -4,9 +4,10 @@ require 'rbconfig' CONFIG = RbConfig::MAKEFILE_CONFIG -version = %w'MAJOR MINOR TEENY LEVEL'.map{|v| CONFIG[v] || '0'} -nversion = version.join(',') -sversion = version.join('.') $ruby_name ||= CONFIG["RUBY_INSTALL_NAME"] $rubyw_name ||= CONFIG["RUBYW_INSTALL_NAME"] || $ruby_name.sub(/ruby/, '\&w') |