Hotfix: "bashbrew build" sorting fix

This commit is contained in:
Tianon Gravi 2019-01-28 17:01:16 -08:00
parent a93f9f538f
commit ccf4f480a7
1 changed files with 5 additions and 4 deletions

View File

@ -70,10 +70,11 @@ func (r Repo) EntryIdentifier(entry *manifest.Manifest2822Entry) string {
// create a new "Repo" object representing a single "Manifest2822Entry" object
func (r Repo) EntryRepo(entry *manifest.Manifest2822Entry) *Repo {
return &Repo{
RepoName: r.RepoName,
TagName: entry.Tags[0],
Manifest: r.Manifest,
TagEntry: entry,
RepoName: r.RepoName,
TagName: entry.Tags[0],
Manifest: r.Manifest,
TagEntry: entry,
TagEntries: []*manifest.Manifest2822Entry{entry},
}
}