aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-17 07:19:49 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-17 07:19:49 +0000
commitc22fb875641344720117085efe1ef12b338c382a (patch)
treea41cb999f9ed68a64e22a9778f97dd89c4bf6c60
parent31faa0fc5cfdf07a7454d1614678d7d61bce3c6f (diff)
downloadruby-c22fb875641344720117085efe1ef12b338c382a.tar.gz
mkconfig.rb: add a magic comment to rbconfig.rb
* tool/mkconfig.rb: add a magic comment to rbconfig.rb in case the command line option -K is specified. [ruby-core:78181] [Bug #12949] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rwxr-xr-xtool/mkconfig.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/mkconfig.rb b/tool/mkconfig.rb
index 7e8ff10dba..372e0868c7 100755
--- a/tool/mkconfig.rb
+++ b/tool/mkconfig.rb
@@ -163,6 +163,7 @@ prefix = vars.expand(vars["prefix"] ||= "")
rubyarchdir = vars.expand(vars["rubyarchdir"] ||= "")
relative_archdir = rubyarchdir.rindex(prefix, 0) ? rubyarchdir[prefix.size..-1] : rubyarchdir
puts %[\
+# encoding: ascii-8bit
# frozen-string-literal: false
#
# The module storing Ruby interpreter configurations on building.