[Groonga-commit] droonga/droonga-engine at 41be422 [master] Use Dir.pwd to get the current directory

Back to archive index

Kouhei Sutou null+****@clear*****
Mon May 12 10:07:01 JST 2014


Kouhei Sutou	2014-05-12 10:07:01 +0900 (Mon, 12 May 2014)

  New Revision: 41be42217f7449ea97a0fface083660c4cee9bf9
  https://github.com/droonga/droonga-engine/commit/41be42217f7449ea97a0fface083660c4cee9bf9

  Message:
    Use Dir.pwd to get the current directory

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

  Modified: lib/droonga/engine/command/droonga_engine.rb (+1 -1)
===================================================================
--- lib/droonga/engine/command/droonga_engine.rb    2014-05-12 09:38:49 +0900 (87be513)
+++ lib/droonga/engine/command/droonga_engine.rb    2014-05-12 10:07:01 +0900 (315f81c)
@@ -153,7 +153,7 @@ module Droonga
                                    @configuration.port)
 
             if****@confi*****?
-              ENV["DROONGA_BASE_DIR"] ||= ENV["PWD"]
+              ENV["DROONGA_BASE_DIR"] ||= Dir.pwd
               Process.daemon
             end
 
-------------- next part --------------
HTML����������������������������...
Download 



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