[Groonga-commit] groonga/heroku-buildpack-groonga at f565019 [master] Use "_path" rather than "_dir" for consistency with environment variable name

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Jun 14 22:35:53 JST 2014


Kouhei Sutou	2014-06-14 22:35:53 +0900 (Sat, 14 Jun 2014)

  New Revision: f565019b95281863cba8827aed49e0c439fa9184
  https://github.com/groonga/heroku-buildpack-groonga/commit/f565019b95281863cba8827aed49e0c439fa9184

  Message:
    Use "_path" rather than "_dir" for consistency with environment variable name

  Modified files:
    bin/release

  Modified: bin/release (+3 -3)
===================================================================
--- bin/release    2014-06-14 22:21:27 +0900 (9009812)
+++ bin/release    2014-06-14 22:35:53 +0900 (1e048ff)
@@ -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")
@@ -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,
 }
 
-------------- next part --------------
HTML����������������������������...
Download 



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