From 19f035ccee65846678357f3b2e145191dabb6424 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 9 Dec 2015 20:53:21 +0000 Subject: mkconfig.rb: must not be frozen * tool/mkconfig.rb: rbconfig must not be fronzen-string-literal to expand CONFIG hash. [ruby-core:72006] [Bug #11798] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/mkconfig.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'tool') diff --git a/tool/mkconfig.rb b/tool/mkconfig.rb index 49b841f775..fdba7097d6 100755 --- a/tool/mkconfig.rb +++ b/tool/mkconfig.rb @@ -172,6 +172,7 @@ prefix = vars.expand(vars["prefix"] ||= "") rubyarchdir = vars.expand(vars["rubyarchdir"] ||= "") relative_archdir = rubyarchdir.rindex(prefix, 0) ? rubyarchdir[prefix.size..-1] : rubyarchdir puts %[\ +# frozen-string-literal: false # This file was created by #{mkconfig} when ruby was built. It contains # build information for ruby which is used e.g. by mkmf to build # compatible native extensions. Any changes made to this file will be -- cgit v1.2.3