summaryrefslogtreecommitdiff
path: root/tool/mkconfig.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-06 07:47:45 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-06 07:47:45 +0000
commitb99c3e74a186858f545bc9973821769f168546a8 (patch)
tree2a8ddbcae3b23fe480c2bd1d048eae07f56dd63f /tool/mkconfig.rb
parent6cd1e11d01036df2856aff996984d276a602a7cf (diff)
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
Diffstat (limited to 'tool/mkconfig.rb')
-rwxr-xr-xtool/mkconfig.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/mkconfig.rb b/tool/mkconfig.rb
index faa1a3f..08b8c22 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