fixed check logic

This commit is contained in:
2021-11-21 19:35:58 +01:00
parent 2ca1b37eab
commit 2f15cebd3e

View File

@@ -692,7 +692,7 @@ func setupMakepkg(march string) error {
makepkgStr := string(t) makepkgStr := string(t)
makepkgStr = strings.ReplaceAll(makepkgStr, "-mtune=generic", "") makepkgStr = strings.ReplaceAll(makepkgStr, "-mtune=generic", "")
if conf.Build.Checks { if !conf.Build.Checks {
makepkgStr = strings.ReplaceAll(makepkgStr, " check ", " !check ") makepkgStr = strings.ReplaceAll(makepkgStr, " check ", " !check ")
} }
makepkgStr = strings.ReplaceAll(makepkgStr, " color ", " !color ") makepkgStr = strings.ReplaceAll(makepkgStr, " color ", " !color ")