From b99c3e74a186858f545bc9973821769f168546a8 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 6 Feb 2013 07:47:45 +0000 Subject: mkconfig.rb: fix anchor * tool/mkconfig.rb: should match whole word. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/mkconfig.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tool/mkconfig.rb') diff --git a/tool/mkconfig.rb b/tool/mkconfig.rb index faa1a3f458..08b8c22785 100755 --- a/tool/mkconfig.rb +++ b/tool/mkconfig.rb @@ -78,7 +78,7 @@ File.foreach "config.status" do |line| when /^RUBY_INSTALL_NAME$/; next if $install_name when /^RUBY_SO_NAME$/; next if $so_name when /^arch$/; if val.empty? then val = arch else arch = val end - when /^sitearch/; val = '$(arch)' if val.empty? + when /^sitearch$/; val = '$(arch)' if val.empty? end case val when /^\$\(ac_\w+\)$/; next -- cgit v1.2.3