From e1f16e77209bc5acc7e41afecc15672627a0fafa Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 10 Jul 2026 15:31:58 +0900 Subject: internal/rosa: apply patches in specified order This seems more intuitive than letting the filesystem decide, and having to use awkward names. Signed-off-by: Ophestra --- internal/rosa/state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/rosa/state.go') diff --git a/internal/rosa/state.go b/internal/rosa/state.go index 2939057d..12a9d9e2 100644 --- a/internal/rosa/state.go +++ b/internal/rosa/state.go @@ -1053,7 +1053,7 @@ func (ctx *evalContext) pf( return } attr.Patches = append(attr.Patches, KV{ - strings.TrimSuffix(filepath.Base(pathname), ".patch"), + filepath.Base(pathname), unsafe.String(unsafe.SliceData(p), len(p)), }) } -- cgit v1.3.1