diff --git a/src/core/build_label.go b/src/core/build_label.go index 536e67cbc1..e10652490d 100644 --- a/src/core/build_label.go +++ b/src/core/build_label.go @@ -457,11 +457,7 @@ func (label BuildLabel) SubrepoLabel(state *BuildState) BuildLabel { } // Otherwise we need to set it to match our architecture - if t.Subrepo == "" { - t.Subrepo = arch - } else { - t.Subrepo = fmt.Sprintf("%v@%v", t.Subrepo, arch) - } + t.Subrepo = JoinSubrepoArch(t.Subrepo, arch) return t }