[Groonga-commit] groonga/heroku-buildpack-groonga at 4671b6e [master] Share common codes

アーカイブの一覧に戻る

Kouhei Sutou null+****@clear*****
Sat May 24 22:32:58 JST 2014


Kouhei Sutou	2014-05-24 22:32:58 +0900 (Sat, 24 May 2014)

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

  Message:
    Share common codes

  Modified files:
    bin/compile

  Modified: bin/compile (+4 -3)
===================================================================
--- bin/compile    2014-05-24 22:31:29 +0900 (0ac6e64)
+++ bin/compile    2014-05-24 22:32:58 +0900 (9d9c062)
@@ -60,17 +60,18 @@ Dir.chdir(build_dir) do
   rm(base_name)
 
   prefix = "vendor/groonga"
+  absolete_prefix = "#{build_dir}/#{prefix}"
   remove_needless_files(prefix)
   link_executales(prefix)
-  fix_prefix_in_pc(prefix, "#{build_dir}/#{prefix}")
+  fix_prefix_in_pc(prefix, absolete_prefix)
 
   puts("-----> Creating Groonga database")
   ENV["PATH"] = [
-    "#{build_dir}/#{groonga_dir}/bin",
+    "#{absolete_prefix}/bin",
     ENV["PATH"],
   ].join(File::PATH_SEPARATOR)
   ENV["LD_LIBRARY_PATH"] = [
-    "#{build_dir}/#{groonga_dir}/lib",
+    "#{absolete_prefix}/lib",
     ENV["LD_LIBRARY_PATH"],
   ].join(File::PATH_SEPARATOR)
   sh("groonga", "-n", database_path, "quit")
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る