[Groonga-commit] droonga/droonga-engine at 0712680 [master] Really use Pathname object for PID file path

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Jul 20 18:56:03 JST 2014


Kouhei Sutou	2014-07-20 18:56:03 +0900 (Sun, 20 Jul 2014)

  New Revision: 0712680b63edbf9c8f8a31045b56d89a322bc83b
  https://github.com/droonga/droonga-engine/commit/0712680b63edbf9c8f8a31045b56d89a322bc83b

  Message:
    Really use Pathname object for PID file path

  Modified files:
    lib/droonga/command/droonga_engine.rb

  Modified: lib/droonga/command/droonga_engine.rb (+1 -1)
===================================================================
--- lib/droonga/command/droonga_engine.rb    2014-07-20 18:35:15 +0900 (a2302f9)
+++ lib/droonga/command/droonga_engine.rb    2014-07-20 18:56:03 +0900 (e10e112)
@@ -207,7 +207,7 @@ module Droonga
           end
           parser.on("--pid-file=PATH",
                     "Put PID to PATH") do |path|
-            @pid_file_path = File.expand_path(path)
+            @pid_file_path = Pathname.new(path).expand_path
           end
         end
 
-------------- next part --------------
HTML����������������������������...
下載 



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