[Groonga-commit] droonga/droonga-engine at d92f82f [master] Use current base path instead of fixed service base path

Back to archive index

Piro / YUKI Hiroshi null+****@clear*****
Tue Sep 23 20:30:04 JST 2014


Piro / YUKI Hiroshi	2014-09-23 20:30:04 +0900 (Tue, 23 Sep 2014)

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

  Message:
    Use current base path instead of fixed service base path

  Modified files:
    lib/droonga/service_installation.rb

  Modified: lib/droonga/service_installation.rb (+1 -1)
===================================================================
--- lib/droonga/service_installation.rb    2014-09-23 20:21:23 +0900 (fa1a1b5)
+++ lib/droonga/service_installation.rb    2014-09-23 20:30:04 +0900 (564b4c8)
@@ -44,7 +44,7 @@ module Droonga
     end
 
     def have_write_permission?
-      test_file = base_directory + "#{Time.now.to_i}.test"
+      test_file = Path.base + "#{Time.now.to_i}.test"
       begin
         FileUtils.touch(test_file.to_s)
       rescue Errno::EACCES => error
-------------- next part --------------
HTML����������������������������...
Download 



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