forked from rosa/hakurei
internal/rosa: migrate GNU software
These are quite trivial, so migrate them in one pass. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -164,7 +164,7 @@ func (*CMakeHelper) createDir() bool { return true }
|
||||
func (*CMakeHelper) wantsDir() string { return "/cure/" }
|
||||
|
||||
// script generates the cure script.
|
||||
func (attr *CMakeHelper) script(s *S, name string) string {
|
||||
func (attr *CMakeHelper) script(t Toolchain, name string) string {
|
||||
if attr == nil {
|
||||
attr = new(CMakeHelper)
|
||||
}
|
||||
@@ -180,7 +180,7 @@ func (attr *CMakeHelper) script(s *S, name string) string {
|
||||
}
|
||||
|
||||
script := attr.Script
|
||||
if !attr.SkipTest && s.opts&OptSkipCheck == 0 {
|
||||
if !attr.SkipTest && t.opts&OptSkipCheck == 0 {
|
||||
script += "\n" + test
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user