Commit e6e8a57

mo khan <mo@mokhan.ca>
2026-01-19 23:19:56
fix: patch tool parameters
1 parent b3ecab2
Changed files (1)
lib
lib/elelem/toolbox.rb
@@ -36,7 +36,7 @@ module Elelem
           Tempfile.create("patch") do |f|
             f.write(a["diff"])
             f.flush
-            Elelem.sh("patch", args: ["-p0", "-i", f.path])
+            Elelem.sh("patch", args: ["-p1", "-i", f.path])
           end
         end
       }