From e10aeaf0ca9d8c38c1ed94e95e64e40132667a53 Mon Sep 17 00:00:00 2001 From: Yuta Saito Date: Mon, 29 Jan 2024 10:41:52 +0000 Subject: [PATCH] Fix patch command invocation It has been broken since e5fa660dc2342ee6496d658c1a5a2c79684da3d9 :( --- lib/ruby_wasm/build/product/ruby_source.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ruby_wasm/build/product/ruby_source.rb b/lib/ruby_wasm/build/product/ruby_source.rb index 8b6e651fa9..ae0b07b93d 100644 --- a/lib/ruby_wasm/build/product/ruby_source.rb +++ b/lib/ruby_wasm/build/product/ruby_source.rb @@ -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