Fix repropro

This commit is contained in:
ferrreo 2023-09-05 17:58:36 +01:00
parent 7e347baeea
commit 3b159e24f9
2 changed files with 1 additions and 1 deletions

BIN
ppp

Binary file not shown.

View File

@ -161,13 +161,13 @@ func repoAdd(path string, args string) {
filePaths = filePaths + " " + path + file filePaths = filePaths + " " + path + file
} else { } else {
count = 500 count = 500
fmt.Println("count: " + fmt.Sprint(totalCount))
cmd := exec.Command("/bin/bash", "-c", "reprepro "+args+" "+filePaths) cmd := exec.Command("/bin/bash", "-c", "reprepro "+args+" "+filePaths)
out, err := cmd.CombinedOutput() out, err := cmd.CombinedOutput()
if err != nil { if err != nil {
panic(string(out)) panic(string(out))
} }
fmt.Printf(string(out)) fmt.Printf(string(out))
filePaths = ""
} }
} }
} }