aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/cmake.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rosa/cmake.go')
-rw-r--r--internal/rosa/cmake.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/rosa/cmake.go b/internal/rosa/cmake.go
index 358fe1e3..16d549c9 100644
--- a/internal/rosa/cmake.go
+++ b/internal/rosa/cmake.go
@@ -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
}