[Groonga-commit] groonga/heroku-buildpack-rroonga at 461bc3e [master] Create a directory for database

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Feb 21 11:54:41 JST 2016


Kouhei Sutou	2016-02-21 11:54:41 +0900 (Sun, 21 Feb 2016)

  New Revision: 461bc3ebcac5fab7318ae1674f5fe8a4fc7085c4
  https://github.com/groonga/heroku-buildpack-rroonga/commit/461bc3ebcac5fab7318ae1674f5fe8a4fc7085c4

  Message:
    Create a directory for database

  Modified files:
    bin/compile

  Modified: bin/compile (+2 -1)
===================================================================
--- bin/compile    2014-06-14 22:40:25 +0900 (94035aa)
+++ bin/compile    2016-02-21 11:54:41 +0900 (bf214b1)
@@ -180,7 +180,8 @@ arguments = Arguments.new(*ARGV)
 
 groonga_base_path = File.join(arguments.build_dir, "groonga")
 ENV["GROONGA_BASE_PATH"] = groonga_base_path
-groonga_database_path = File.join(groonga_base_path, "database")
+groonga_database_path = File.join(groonga_base_path, "data", "db")
+mkdir_p(File.dirname(groonga_database_path))
 ENV["GROONGA_DATABASE_PATH"] = groonga_database_path
 
 builder = BuildpackBuilder.new("Groonga", "groonga/groonga", arguments)
-------------- next part --------------
HTML����������������������������...
Download 



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