diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2018-07-09 08:19:12 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-07-09 08:19:12 +0900 |
| commit | ea435f99da3aa5ba1dc6bf5cb7f48d9565bed1a6 (patch) | |
| tree | 62ddab8c4d54e0c46529266a971943388f89905d | |
| parent | 17c9e65603f3e21abc9f383532dbd33666245309 (diff) | |
| parent | b1f1fe2f81f4b8a236c8fb8dbd5bea0aec25ee54 (diff) | |
| download | mruby-ea435f99da3aa5ba1dc6bf5cb7f48d9565bed1a6.tar.gz mruby-ea435f99da3aa5ba1dc6bf5cb7f48d9565bed1a6.zip | |
Merge pull request #4067 from katzer/patch-1
[mruby-test] Fix task name is not necessarily a valid path
| -rw-r--r-- | mrbgems/mruby-test/mrbgem.rake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mrbgems/mruby-test/mrbgem.rake b/mrbgems/mruby-test/mrbgem.rake index 11d780f75..589fc688a 100644 --- a/mrbgems/mruby-test/mrbgem.rake +++ b/mrbgems/mruby-test/mrbgem.rake @@ -164,9 +164,9 @@ MRuby::Gem::Specification.new('mruby-test') do |spec| nil end current_gem_list = build.gems.map(&:name).join("\n") - task active_gems_path do |t| - FileUtils.mkdir_p File.dirname t.name - File.write t.name, current_gem_list + task active_gems_path do |_t| + FileUtils.mkdir_p File.dirname(active_gems_path) + File.write active_gems_path, current_gem_list end file clib => active_gems_path if active_gem_list != current_gem_list |
