optimise sign
This commit is contained in:
parent
c846ba2da5
commit
aa1e9db2ed
@ -183,7 +183,7 @@ func signFiles(path string) {
|
|||||||
func sign(ch chan bool, path string) {
|
func sign(ch chan bool, path string) {
|
||||||
if strings.HasSuffix(path, ".deb") {
|
if strings.HasSuffix(path, ".deb") {
|
||||||
fmt.Printf("Signing %s \n", path)
|
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()
|
err := cmd.Run()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
|
Loading…
Reference in New Issue
Block a user