Skip to content

Commit 1120530

Browse files
committed
🎨 install_bin support USE_LOCAL_TOOL
Signed-off-by: cyw3 <2927096163@qq.com>
1 parent 70334ff commit 1120530

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

scripts/base/install_bin.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,13 @@ function isSame() {
116116
}
117117

118118
function interactive_install_bin() {
119+
120+
# 判断是否设置 USE_LOCAL_TOOL=True,是的话就忽略
121+
isLocal=$(readIni ${TCA_ROOT}/client/config.ini "COMMON" "USE_LOCAL_TOOL"|tr '[:upper:]' '[:lower:]')
122+
if [[ $isLocal == "true" ]]; then
123+
return 0
124+
fi
125+
119126
download_lib
120127
deepmove "${TCA_ROOT}/${LIB_DIR_NAME}" $TCA_ROOT
121128
}

0 commit comments

Comments
 (0)