[Groonga-commit] droonga/droonga-engine at a00c50c [master] Resolve base directory

Back to archive index

YUKI Hiroshi null+****@clear*****
Sat Jun 28 02:20:40 JST 2014


YUKI Hiroshi	2014-06-28 02:20:40 +0900 (Sat, 28 Jun 2014)

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

  Message:
    Resolve base directory

  Modified files:
    bin/droonga-engine-join

  Modified: bin/droonga-engine-join (+1 -1)
===================================================================
--- bin/droonga-engine-join    2014-06-28 02:12:29 +0900 (4922553)
+++ bin/droonga-engine-join    2014-06-28 02:20:40 +0900 (5ce1fa1)
@@ -68,7 +68,7 @@ end
 parser.parse!(ARGV)
 
 
-base_dir = options.base_dir || ENV[Droonga::Path::BASE_DIR_ENV_NAME]
+base_dir = options.base_dir || ENV[Droonga::Path::BASE_DIR_ENV_NAME] || Dir.pwd
 base_dir = Pathname(base_dir).expand_path
 ENV[Droonga::Path::BASE_DIR_ENV_NAME] = base_dir.to_s
 
-------------- next part --------------
HTML����������������������������...
Download 



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