From bbb568f6e7c06d7bad9bcd98e751cc6e991f26d9 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期六, 30 五月 2020 17:56:34 +0800
Subject: [PATCH] fix copy sdk libs

---
 service/SdkInstall.go |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/service/SdkInstall.go b/service/SdkInstall.go
index fb21b1e..6f5707b 100644
--- a/service/SdkInstall.go
+++ b/service/SdkInstall.go
@@ -158,8 +158,8 @@
 									if util.Exists(unPackPath+sdkType+"/zconf/"+sdkType+".json") {
 										util.CopyFile(unPackPath+sdkType+"/zconf/"+sdkType+".json", zconfPath+sdkType+".json")
 									}
-									if util.DirExists(unPackPath+sdkType+"/"+sdkType) {
-										if _,cE := util.CopyDirByCmd(unPackPath+sdkType+"/"+sdkType, libPath);cE != nil {
+									if util.DirExists(unPackPath+sdkType) {
+										if _,cE := util.CopyDirByCmd(unPackPath+sdkType, libPath);cE != nil {
 											return false, cE
 										}
 									}

--
Gitblit v1.8.0