Skip to content

Commit

Permalink
Fix patch command invocation
Browse files Browse the repository at this point in the history
It has been broken since e5fa660 :(
  • Loading branch information
kateinoigakukun committed Jan 29, 2024
1 parent 9b798e4 commit e10aeaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ruby_wasm/build/product/ruby_source.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def fetch(executor)
raise "unknown source type: #{@params[:type]}"
end
(@params[:patches] || []).each do |patch_path|
executor.system "patch", "-p1", patch_path, chdir: src_dir
executor.system "patch", "-p1", "-i", patch_path, chdir: src_dir
end
end

Expand Down

0 comments on commit e10aeaf

Please sign in to comment.