fix(build): normalize comma-separated TAGS to prevent build failure
This commit is contained in:
parent
b741c2d891
commit
ae3dd6923b
|
|
@ -215,7 +215,7 @@ func initVars() {
|
|||
// This prevents SIGFPE crashes when running under systemd without HOME set,
|
||||
// caused by glibc's getpwuid_r() failing in certain environments.
|
||||
// See: https://github.com/go-vikunja/vikunja/issues/2170
|
||||
Tags = "osusergo " + os.Getenv("TAGS")
|
||||
Tags = "osusergo " + strings.ReplaceAll(os.Getenv("TAGS"), ",", " ")
|
||||
setVersion()
|
||||
setBinLocation()
|
||||
setPkgVersion()
|
||||
|
|
|
|||
Loading…
Reference in New Issue