aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/rosa.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rosa/rosa.go')
-rw-r--r--internal/rosa/rosa.go9
1 files changed, 7 insertions, 2 deletions
diff --git a/internal/rosa/rosa.go b/internal/rosa/rosa.go
index 456f82e7..77dc1592 100644
--- a/internal/rosa/rosa.go
+++ b/internal/rosa/rosa.go
@@ -363,9 +363,14 @@ function apply {
buf.WriteString("'\n")
}
}
- return t.New(name+"-src", 0, t.Append(nil,
+
+ return t.NewPackage(name+"-src", Unversioned, nil, &PackageAttr{
+ Paths: paths,
+ }, &GenericHelper{
+ Build: buf.String(),
+ },
_patch,
- ), nil, nil, buf.String(), paths...)
+ )
}
// helperInPlace is a special directory value for omitting the cd statement.