summaryrefslogtreecommitdiff
path: root/mkconfig.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-10-27 02:09:23 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-10-27 02:09:23 +0000
commit4f5f65b4f718bec77688876a7b6031cbba5ff4f1 (patch)
tree4302c4c69fd28cc5bd9ff9e379cd1edd1787bef3 /mkconfig.rb
parent20a8fa174c1b419fe37609784c9ed6afba3aaf35 (diff)
* fixed generator script name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mkconfig.rb')
-rw-r--r--mkconfig.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/mkconfig.rb b/mkconfig.rb
index aeecd1441d..eac64c1d9d 100644
--- a/mkconfig.rb
+++ b/mkconfig.rb
@@ -1,6 +1,7 @@
#!./miniruby -s
require File.dirname($0)+"/lib/ftools"
+mkconfig = File.basename($0)
rbconfig_rb = ARGV[0] || 'rbconfig.rb'
srcdir = $srcdir || '.'
@@ -14,13 +15,13 @@ $stdout.reopen(config)
fast = {'prefix'=>TRUE, 'ruby_install_name'=>TRUE, 'INSTALL'=>TRUE, 'EXEEXT'=>TRUE}
print %[
+# This file was created by #{mkconfig} when ruby was built. Any
+# changes made to this file will be lost the next time ruby is built.
+
module Config
RUBY_VERSION == "#{version}" or
raise "ruby lib version (#{version}) doesn't match executable version (\#{RUBY_VERSION})"
-
-# This file was created by configrb when ruby was built. Any changes
-# made to this file will be lost the next time ruby is built.
]
v_fast = []