[Groonga-mysql-commit] mroonga/homebrew at 69a2b8a [master] Use meaningful name

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Dec 29 21:45:53 JST 2013


Kouhei Sutou	2013-12-29 21:45:53 +0900 (Sun, 29 Dec 2013)

  New Revision: 69a2b8af4a795b3104b6e1a78f7a89e7eac816bb
  https://github.com/mroonga/homebrew/commit/69a2b8af4a795b3104b6e1a78f7a89e7eac816bb

  Message:
    Use meaningful name
    
    Use "mariadb" instead of "mysql" for MariaDB related object.

  Modified files:
    mroonga.rb

  Modified: mroonga.rb (+7 -7)
===================================================================
--- mroonga.rb    2013-12-29 21:44:40 +0900 (7a90900)
+++ mroonga.rb    2013-12-29 21:45:53 +0900 (20d8d86)
@@ -43,10 +43,10 @@ class Mroonga < Formula
         end
       end
     elsif ARGV.include?("--use-homebrew-mariadb")
-      build_mariadb_formula do |mysql|
+      build_mariadb_formula do |mariadb|
         Dir.chdir(buildpath.to_s) do
-          install_mroonga(mysql.buildpath.to_s,
-                          (mysql.prefix + "bin" + "mysql_config").to_s)
+          install_mroonga(mariadb.buildpath.to_s,
+                          (mariadb.prefix + "bin" + "mysql_config").to_s)
         end
       end
     else
@@ -104,10 +104,10 @@ class Mroonga < Formula
   end
 
   def build_mariadb_formula
-    mysql = Formula.factory("mariadb")
-    mysql.extend(Patchable)
-    mysql.brew do
-      yield mysql
+    mariadb = Formula.factory("mariadb")
+    mariadb.extend(Patchable)
+    mariadb.brew do
+      yield mariadb
     end
   end
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index