diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-27 12:48:34 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-27 12:48:34 +0000 |
commit | e02f14addf1aea0928250e8660ca41389e4e5729 (patch) | |
tree | b01c746bb70932952933a1df6690bbcbfc74a805 | |
parent | 173f1e1563f5861de78b2bc4e43cd30ea19400c7 (diff) | |
download | ruby-e02f14addf1aea0928250e8660ca41389e4e5729.tar.gz |
* mkconfig.rb (prefix): archdir is "1.9.0", not "1.9".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | mkconfig.rb | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Thu Dec 27 21:47:04 2007 NAKAMURA Usaku <usa@ruby-lang.org> + + * mkconfig.rb (prefix): archdir is "1.9.0", not "1.9". + Thu Dec 27 17:57:30 2007 Tanaka Akira <akr@fsij.org> * parse.y, transcode_data.h, transcode.c, lib/weakref.rb, diff --git a/mkconfig.rb b/mkconfig.rb index 1086c57909..8561bbf0e2 100755 --- a/mkconfig.rb +++ b/mkconfig.rb @@ -100,7 +100,7 @@ end drive = File::PATH_SEPARATOR == ';' -prefix = '/lib/ruby/' + RUBY_VERSION.sub(/\.\d+$/, '') + '/' + RUBY_PLATFORM +prefix = '/lib/ruby/' + RUBY_VERSION + '/' + RUBY_PLATFORM print " TOPDIR = File.dirname(__FILE__).chomp!(#{prefix.dump})\n" print " DESTDIR = ", (drive ? "TOPDIR && TOPDIR[/\\A[a-z]:/i] || " : ""), "'' unless defined? DESTDIR\n" print " CONFIG = {}\n" |