diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-01-26 21:17:28 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-01-26 21:17:28 +0900 |
| commit | d4101d0a081f5974dcdde05e7171064eedbda830 (patch) | |
| tree | 4f579c0e1b384d2680a04172fc306ee935300601 /mrbgems/mruby-bin-config | |
| parent | f3d5deb981838351b245d1ba9dec5b1c0c62bee0 (diff) | |
| download | mruby-d4101d0a081f5974dcdde05e7171064eedbda830.tar.gz mruby-d4101d0a081f5974dcdde05e7171064eedbda830.zip | |
Revert "Fix the wrong directory `host-bin` to `host/bin`."
This reverts commit 34f82f24e941f36edc8d947a8a9300631b3121ff.
Ref #5282
Diffstat (limited to 'mrbgems/mruby-bin-config')
| -rw-r--r-- | mrbgems/mruby-bin-config/mrbgem.rake | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mrbgems/mruby-bin-config/mrbgem.rake b/mrbgems/mruby-bin-config/mrbgem.rake index 9f298ea76..b4c437640 100644 --- a/mrbgems/mruby-bin-config/mrbgem.rake +++ b/mrbgems/mruby-bin-config/mrbgem.rake @@ -7,7 +7,7 @@ MRuby::Gem::Specification.new('mruby-bin-config') do |spec| spec.summary = "#{name} command" if iscross - mruby_config_dir = "#{build.build_dir}/host/bin" + mruby_config_dir = "#{build.build_dir}/host-bin" else mruby_config_dir = "#{build.build_dir}/bin" end @@ -28,7 +28,6 @@ MRuby::Gem::Specification.new('mruby-bin-config') do |spec| config = Hash[File.readlines(make_cfg).map!(&:chomp).map! {|l| l.gsub('\\"', '"').split(' = ', 2).map! {|s| s.sub(/^(?=.)/, 'echo ')} }] - pp config tmplt = File.read(tmplt_path) File.write(t.name, tmplt.gsub(/(#{Regexp.union(*config.keys)})\b/, config)) chmod(0755, t.name) |
