internal/rosa/make: optionally format value as is
All checks were successful
Test / Create distribution (push) Successful in 1m22s
Test / ShareFS (push) Successful in 4m37s
Test / Sandbox (race detector) (push) Successful in 6m27s
Test / Hakurei (race detector) (push) Successful in 11m35s
Test / Sandbox (push) Successful in 3m51s
Test / Hakurei (push) Successful in 6m59s
Test / Flake checks (push) Successful in 3m5s
All checks were successful
Test / Create distribution (push) Successful in 1m22s
Test / ShareFS (push) Successful in 4m37s
Test / Sandbox (race detector) (push) Successful in 6m27s
Test / Hakurei (race detector) (push) Successful in 11m35s
Test / Sandbox (push) Successful in 3m51s
Test / Hakurei (push) Successful in 6m59s
Test / Flake checks (push) Successful in 3m5s
This enables correct formatting for awkward configure scripts. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user