Merge pull request #239 from Morganamilo/makeonly

Ensure targets are never listed as make depends
This commit is contained in:
Morgana 2018-03-12 18:53:28 +00:00 committed by GitHub
commit e0303ffad8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,6 +131,10 @@ func getDepCatagories(pkgs []string, dt *depTree) (*depCatagories, error) {
})
}
for _, pkg := range pkgs {
dc.MakeOnly.remove(pkg)
}
dupes := make(map[*alpm.Package]struct{})
filteredRepo := make([]*alpm.Package, 0)