internal/rosa/make: optionally format value as is
Some checks failed
Test / Flake checks (push) Has been cancelled
Test / Hakurei (push) Has been cancelled
Test / Create distribution (push) Has been cancelled
Test / Sandbox (push) Has been cancelled
Test / Sandbox (race detector) (push) Has been cancelled
Test / Hakurei (race detector) (push) Has been cancelled
Test / ShareFS (push) Has been cancelled

This enables correct formatting for awkward configure scripts.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-04-15 22:17:58 +09:00
parent b3143b6b11
commit 8b6b9bc2a1

View File

@@ -171,7 +171,10 @@ func (attr *MakeHelper) script(name string) string {
s = "-" + s
}
if v[1] != "" {
s += "=" + v[1]
if v[0] != "" {
s += "="
}
s += v[1]
}
if !yield(s) {
return