[前][次][番号順一覧][スレッド一覧]

ruby-changes:27048

From: nobu <ko1@a...>
Date: Wed, 6 Feb 2013 16:47:55 +0900 (JST)
Subject: [ruby-changes:27048] nobu:r39100 (trunk): mkconfig.rb: fix anchor

nobu	2013-02-06 16:47:45 +0900 (Wed, 06 Feb 2013)

  New Revision: 39100

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39100

  Log:
    mkconfig.rb: fix anchor
    
    * tool/mkconfig.rb: should match whole word.

  Modified files:
    trunk/tool/mkconfig.rb

Index: tool/mkconfig.rb
===================================================================
--- tool/mkconfig.rb	(revision 39099)
+++ tool/mkconfig.rb	(revision 39100)
@@ -78,7 +78,7 @@ File.foreach "config.status" do |line| https://github.com/ruby/ruby/blob/trunk/tool/mkconfig.rb#L78
     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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]