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
commitf699b8973324d02e7afa7d5f2fea14fe30d30ca9 (patch)
tree1612dda15fcc01e240c3ef10ae281eda87571869 /mkconfig.rb
parent0861cbd901155d609fe39a9b2446afb91f46e3ca (diff)
* fixed generator script name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@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 b3524ded91..e934342bca 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 if $srcdir
@@ -12,13 +13,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.
]
print " DESTDIR = '' if not defined? DESTDIR\n CONFIG = {}\n"