mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-04-28 18:38:24 -05:00
fix(build): normalize comma-separated TAGS to prevent build failure
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user