[Groonga-commit] droonga/droonga-engine at 0828dd6 [master] Ensure set DROONGA_BASE_DIR

Back to archive index

Kouhei Sutou null+****@clear*****
Mon May 12 10:08:36 JST 2014


Kouhei Sutou	2014-05-12 10:08:36 +0900 (Mon, 12 May 2014)

  New Revision: 0828dd6cd872c7c03930b4f6255bab4a2b9674c0
  https://github.com/droonga/droonga-engine/commit/0828dd6cd872c7c03930b4f6255bab4a2b9674c0

  Message:
    Ensure set DROONGA_BASE_DIR

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

  Modified: lib/droonga/engine/command/droonga_engine.rb (+2 -1)
===================================================================
--- lib/droonga/engine/command/droonga_engine.rb    2014-05-12 10:07:01 +0900 (315f81c)
+++ lib/droonga/engine/command/droonga_engine.rb    2014-05-12 10:08:36 +0900 (770c3df)
@@ -152,8 +152,9 @@ module Droonga
             @heartbeat_socket.bind(@configuration.host,
                                    @configuration.port)
 
+            ENV["DROONGA_BASE_DIR"] ||= Dir.pwd
+
             if****@confi*****?
-              ENV["DROONGA_BASE_DIR"] ||= Dir.pwd
               Process.daemon
             end
 
-------------- next part --------------
HTML����������������������������...
下载 



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