Navigation Menu

Skip to content

Commit

Permalink
Resolve base directory
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Jun 27, 2014
1 parent ccbb093 commit a00c50c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/droonga-engine-join
Expand Up @@ -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

Expand Down

0 comments on commit a00c50c

Please sign in to comment.