diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-04-15 22:17:58 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-04-15 22:17:58 +0900 |
| commit | 89d6d9576bc209aad56681f36ea5047dab5a7d27 (patch) | |
| tree | b07b843558d97666b0997513dc0b9584170112a2 | |
| parent | fafce04a5dad50276132146bff9c37c82250af8c (diff) | |
internal/rosa/make: optionally format value as is
This enables correct formatting for awkward configure scripts.
Signed-off-by: Ophestra <cat@gensokyo.uk>
| -rw-r--r-- | internal/rosa/make.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/rosa/make.go b/internal/rosa/make.go index 0c5a4982..570c2ccd 100644 --- a/internal/rosa/make.go +++ b/internal/rosa/make.go @@ -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 |
