summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortake_cheeze <[email protected]>2014-03-05 14:29:45 +0900
committertake_cheeze <[email protected]>2014-03-05 14:29:45 +0900
commit9d81487c8b57b2acbcc9d8ce627de1bd55bebd9c (patch)
tree62592fd97a22bb13aa9de1519cb207e7a89e8489
parentf911b23599697f79f922f09640cf86ddd2b8602f (diff)
downloadmruby-9d81487c8b57b2acbcc9d8ce627de1bd55bebd9c.tar.gz
mruby-9d81487c8b57b2acbcc9d8ce627de1bd55bebd9c.zip
add existing include/ directory only
-rw-r--r--tasks/mrbgem_spec.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/mrbgem_spec.rake b/tasks/mrbgem_spec.rake
index 8cde1c12d..daf0bec3a 100644
--- a/tasks/mrbgem_spec.rake
+++ b/tasks/mrbgem_spec.rake
@@ -51,7 +51,7 @@ module MRuby
MRuby::Gem.current = self
@build.compilers.each do |compiler|
compiler.include_paths << "#{dir}/include"
- end
+ end if Dir.exist? "#{dir}/include"
MRuby::Build::COMMANDS.each do |command|
instance_variable_set("@#{command}", @build.send(command).clone)
end