From e238e6e946559fce355a6bc79c1b505b72ac3322 Mon Sep 17 00:00:00 2001 From: chenhaoran Date: Tue, 8 Nov 2022 17:09:31 +0800 Subject: [PATCH] test:modify two options that downloads the installPackages --- packaging/testpackage.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packaging/testpackage.sh b/packaging/testpackage.sh index ba8b95fc0d..aca9ceae75 100755 --- a/packaging/testpackage.sh +++ b/packaging/testpackage.sh @@ -76,7 +76,7 @@ file=$1 versionPath=$2 sourceP=$3 nasServerIP="192.168.1.131" -packagePath="/nas/TDengine/v${versionPath}/" +packagePath="/nas/TDengine/v${versionPath}/community" if [ -f ${file} ];then echoColor YD "${file} already exists ,it will delete it and download it again " rm -rf ${file} @@ -151,9 +151,9 @@ if [ -d ${installPath}/${tdPath} ] ;then fi echoColor G "===== download installPackage =====" - cd ${installPath} && wgetFile ${packgeName} ${version} ${sourcePath} - cd ${oriInstallPath} && wgetFile ${originPackageName} ${originversion} ${sourcePath} -fi +cd ${installPath} && wgetFile ${packgeName} ${version} ${sourcePath} +cd ${oriInstallPath} && wgetFile ${originPackageName} ${originversion} ${sourcePath} + cd ${installPath} cp -r ${scriptDir}/debRpmAutoInstall.sh .