diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-03-05 15:24:43 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-03-05 15:24:43 +0900 |
| commit | 415b70fd4960360a24635e35c17227505f62bfc3 (patch) | |
| tree | 6fc6475c7d16dacb0d60bbe448fe021c7e5d79e8 | |
| parent | 071317e81bec24aab5bd63bcb2ed4d0cba15f558 (diff) | |
| parent | 9d81487c8b57b2acbcc9d8ce627de1bd55bebd9c (diff) | |
| download | mruby-415b70fd4960360a24635e35c17227505f62bfc3.tar.gz mruby-415b70fd4960360a24635e35c17227505f62bfc3.zip | |
Merge pull request #1805 from take-cheeze/existing_include
Add existing include/ directory only.
| -rw-r--r-- | tasks/mrbgem_spec.rake | 2 |
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 |
