[Groonga-commit] groonga/gcs [master] package: use relative path from Rakefile

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 21日 (木) 16:30:03 JST


Kouhei Sutou	2012-06-21 16:30:03 +0900 (Thu, 21 Jun 2012)

  New Revision: b718c2624e56186c70f3bb7ca150a2a993b25f0c
  https://github.com/groonga/gcs/commit/b718c2624e56186c70f3bb7ca150a2a993b25f0c

  Log:
    package: use relative path from Rakefile

  Modified files:
    packages/all-in-one/Rakefile

  Modified: packages/all-in-one/Rakefile (+3 -2)
===================================================================
--- packages/all-in-one/Rakefile    2012-06-21 16:29:32 +0900 (7afd250)
+++ packages/all-in-one/Rakefile    2012-06-21 16:30:03 +0900 (3cd9a9e)
@@ -4,8 +4,9 @@ require "uri"
 require "pathname"
 require "open-uri"
 
-top_dir = Pathname.new("../..").expand_path
-tmp_dir = Pathname.new("tmp").expand_path
+base_dir = Pathname.new(__FILE__).dirname.expand_path
+top_dir = base_dir.parent.parent
+tmp_dir = base_dir + "tmp"
 @download_dir = tmp_dir + "download"
 @build_dir = tmp_dir + "build"
 @dist_dir = tmp_dir + "dist"
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



Groonga-commit メーリングリストの案内
Back to archive index