diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-07-10 15:31:58 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-07-10 15:39:55 +0900 |
| commit | e1f16e77209bc5acc7e41afecc15672627a0fafa (patch) | |
| tree | a308ad63a7ddfd7c7095764878fbecd87b854094 /internal/rosa/state.go | |
| parent | 8e9b3a2ed165b5432714c712838695fa5e763c5a (diff) | |
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 <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/state.go')
| -rw-r--r-- | internal/rosa/state.go | 2 |
1 files changed, 1 insertions, 1 deletions
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)), }) } |
