aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/make.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-04-15 22:17:58 +0900
committerOphestra <cat@gensokyo.uk>2026-04-15 22:17:58 +0900
commit89d6d9576bc209aad56681f36ea5047dab5a7d27 (patch)
treeb07b843558d97666b0997513dc0b9584170112a2 /internal/rosa/make.go
parentfafce04a5dad50276132146bff9c37c82250af8c (diff)
internal/rosa/make: optionally format value as is
This enables correct formatting for awkward configure scripts. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/make.go')
-rw-r--r--internal/rosa/make.go5
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