optimise sign

This commit is contained in:
ferrreo 2023-09-05 13:21:44 +01:00
parent c846ba2da5
commit aa1e9db2ed
2 changed files with 1 additions and 1 deletions

BIN
ppp

Binary file not shown.

View File

@ -183,7 +183,7 @@ func signFiles(path string) {
func sign(ch chan bool, path string) {
if strings.HasSuffix(path, ".deb") {
fmt.Printf("Signing %s \n", path)
cmd := exec.Command("bash -c dpkg-sig", "--sign", "builder", path)
cmd := exec.Command("/bin/bash", "-c", "dpkg-sig", "--sign", "builder", path)
err := cmd.Run()
if err != nil {
panic(err)