sunty
2020-08-20 9303b69ea569bcb5e581147543a3fd58e90d0d25
extend/util/zip.go
@@ -282,7 +282,7 @@
}
func UnTarGzByCmd(srcFile string, dstPath string) (string,error) {
   cmd := exec.Command("tar -zxvf", srcFile, "-C", dstPath)
   cmd := exec.Command("tar","-zxvf", srcFile, "-C", dstPath)
   outPut, err := cmd.Output()
   return string(outPut), err
}