Navigation Menu

Skip to content

Commit

Permalink
Use "_path" rather than "_dir" for consistency with environment varia…
Browse files Browse the repository at this point in the history
…ble name
  • Loading branch information
kou committed Jun 14, 2014
1 parent e5d2fcd commit f565019
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/release
Expand Up @@ -6,8 +6,8 @@ build_dir = ARGV.first

app_dir = "/app"

base_dir = File.join(app_dir, "groonga")
database_path = File.join(base_dir, "database")
base_path = File.join(app_dir, "groonga")
database_path = File.join(base_path, "database")

build_groonga_dir = File.join(build_dir, "vendor", "groonga")
app_groonga_dir = File.join(app_dir, "vendor", "groonga")
Expand All @@ -33,7 +33,7 @@ release["config_vars"] = {
"PATH" => paths.join(File::PATH_SEPARATOR),
"LD_LIBRARY_PATH" => ld_library_paths.compact.join(File::PATH_SEPARATOR),
"PKG_CONFIG_PATH" => pkg_config_paths.compact.join(File::PATH_SEPARATOR),
"GROONGA_BASE_PATH" => base_dir,
"GROONGA_BASE_PATH" => base_path,
"GROONGA_DATABASE_PATH" => database_path,
}

Expand Down

0 comments on commit f565019

Please sign in to comment.