[Groonga-mysql-commit] mroonga/mroonga at 63bef1c [master] Really escape "." in regular expression

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Apr 30 16:22:21 JST 2015


Kouhei Sutou	2015-04-30 16:22:21 +0900 (Thu, 30 Apr 2015)

  New Revision: 63bef1c823759eb168742965e260beadd98bca16
  https://github.com/mroonga/mroonga/commit/63bef1c823759eb168742965e260beadd98bca16

  Message:
    Really escape "." in regular expression
    
    "s,5\.5,5.6,g" is processed as "s,5.5,5.6,g" in Ruby.

  Modified files:
    packages/ubuntu/upload.rb

  Modified: packages/ubuntu/upload.rb (+1 -1)
===================================================================
--- packages/ubuntu/upload.rb    2015-04-30 16:20:55 +0900 (9fcc0f9)
+++ packages/ubuntu/upload.rb    2015-04-30 16:22:21 +0900 (8743520)
@@ -127,7 +127,7 @@ allow_unsigned_uploads = 0
         case code_name
         when "vivid"
           run_command("sed",
-                      "-i", "-e", "s,5\.5,5.6,g",
+                      "-i", "-e", "s,5\\.5,5.6,g",
                       "debian/rules")
         end
         run_command("sed",
-------------- next part --------------
HTML����������������������������...
Download 



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