Merge pull request #405 from Morganamilo/fix#404

Add missing --ignorearch arg to makepkg call
This commit is contained in:
Anna 2018-05-10 21:02:46 +01:00 committed by GitHub
commit a634c2d167
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -596,8 +596,14 @@ func buildInstallPkgBuilds(pkgs []*rpc.Pkg, srcinfos map[string]*gopkg.PKGBUILD,
srcinfo := srcinfos[pkg.PackageBase]
args := []string{"--nobuild", "-fCc"}
if incompatible.get(pkg.PackageBase) {
args = append(args, "--ignorearch")
}
//pkgver bump
err := passToMakepkg(dir, "--nobuild", "-fCc")
err := passToMakepkg(dir, args...)
if err != nil {
return fmt.Errorf("Error making: %s", pkg.Name)
}