forked from rosa/hakurei
internal/rosa/make: optionally format value as is
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
|
s = "-" + s
|
||||||
}
|
}
|
||||||
if v[1] != "" {
|
if v[1] != "" {
|
||||||
s += "=" + v[1]
|
if v[0] != "" {
|
||||||
|
s += "="
|
||||||
|
}
|
||||||
|
s += v[1]
|
||||||
}
|
}
|
||||||
if !yield(s) {
|
if !yield(s) {
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user