summaryrefslogtreecommitdiff
path: root/mkconfig.rb
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-27 12:48:34 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-27 12:48:34 +0000
commite02f14addf1aea0928250e8660ca41389e4e5729 (patch)
treeb01c746bb70932952933a1df6690bbcbfc74a805 /mkconfig.rb
parent173f1e1563f5861de78b2bc4e43cd30ea19400c7 (diff)
* 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
Diffstat (limited to 'mkconfig.rb')
-rwxr-xr-xmkconfig.rb2
1 files changed, 1 insertions, 1 deletions
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"