summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authortake-cheeze <[email protected]>2019-08-22 02:43:00 +0900
committertake-cheeze <[email protected]>2019-08-22 02:43:00 +0900
commita86f8f26a2c22bf393938509471c977f7e364497 (patch)
tree869d98b3fe34b203c2f2c3e900c9515af1cd55a3 /lib
parent90bffaa2a6b8e2e5f72eaa8d9e1b98fd3d715870 (diff)
downloadmruby-a86f8f26a2c22bf393938509471c977f7e364497.tar.gz
mruby-a86f8f26a2c22bf393938509471c977f7e364497.zip
Separate repos directory and build directory
closes #4652
Diffstat (limited to 'lib')
-rw-r--r--lib/mruby/build.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mruby/build.rb b/lib/mruby/build.rb
index 90943f3b1..98b9b368d 100644
--- a/lib/mruby/build.rb
+++ b/lib/mruby/build.rb
@@ -64,7 +64,7 @@ module MRuby
@file_separator = '/'
@build_dir = "#{build_dir}/#{@name}"
- @gem_clone_dir = "#{@build_dir}/repos"
+ @gem_clone_dir = "#{build_dir}/repos/#{@name}"
@cc = Command::Compiler.new(self, %w(.c))
@cxx = Command::Compiler.new(self, %w(.cc .cxx .cpp))
@objc = Command::Compiler.new(self, %w(.m))