Fix repropro
This commit is contained in:
parent
7e347baeea
commit
3b159e24f9
@ -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 = ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user