forked from rosa/hakurei
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>
This commit is contained in:
@@ -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)),
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user