aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/ninja.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-20 08:07:43 +0900
committerOphestra <cat@gensokyo.uk>2026-05-20 08:15:23 +0900
commitb482fd4abfb2b3765b1791915b31067a0f80fec7 (patch)
tree1cb95592a7f243aa920e3f4c497909a2e8bf9efb /internal/rosa/ninja.go
parent2e502ede6c885496f4ac0a480aa4e4e337c54f51 (diff)
internal/rosa: remove global handles
These no longer serve any purpose. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/ninja.go')
-rw-r--r--internal/rosa/ninja.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/rosa/ninja.go b/internal/rosa/ninja.go
index e8984888..0f29d186 100644
--- a/internal/rosa/ninja.go
+++ b/internal/rosa/ninja.go
@@ -19,11 +19,11 @@ func init() {
ID: 2089,
}
native.MustRegister(meta.Name, func(t Toolchain) (*Metadata, pkg.Artifact) {
- _, python := t.Load(Python)
- _, bash := t.Load(Bash)
+ _, _python := t.Load(Python)
+ _, _bash := t.Load(bash)
return &meta, t.New(meta.Name+"-"+version, 0, []pkg.Artifact{
- python,
- bash,
+ _python,
+ _bash,
}, nil, nil, `
cd "$(mktemp -d)"
python3 /usr/src/ninja/configure.py \