From aa91d7884e7fef55b47d6a4905596f72a5ef1ac3 Mon Sep 17 00:00:00 2001 From: liuxiaolong <liuxiaolong@aiotlink.com> Date: 星期六, 30 五月 2020 17:43:03 +0800 Subject: [PATCH] fix sdkType unTar --- extend/util/zip.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/extend/util/zip.go b/extend/util/zip.go index 592a48a..0fac79f 100644 --- a/extend/util/zip.go +++ b/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 } -- Gitblit v1.8.0