fix pkgrel buildno not increasing correctly if arch already set one

rename database enum typo build -> built
This commit is contained in:
2024-06-23 12:45:18 +02:00
parent e3ce572dfa
commit f66be19131
6 changed files with 127 additions and 16 deletions

View File

@@ -625,11 +625,11 @@ func Glob(pattern string) ([]string, error) {
func (globs Globs) Expand() ([]string, error) {
var matches = []string{""}
for _, glob := range globs {
for _, g := range globs {
var hits []string
var hitMap = map[string]bool{}
for _, match := range matches {
paths, err := filepath.Glob(match + glob)
paths, err := filepath.Glob(match + g)
if err != nil {
return nil, err
}