Skip to content

Commit 774850d

Browse files
committed
🎨 install_bin: clean useless file at lib
Signed-off-by: cyw3 <2927096163@qq.com>
1 parent 1120530 commit 774850d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

scripts/base/install_bin.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ function downloader() {
4242
git clone -b ${url: -11} ${url:0:8}${user}:${password}@${url:8:-12}
4343
cmd_ret=$?
4444
if [[ ${cmd_ret} == 0 ]] ; then
45+
# 清理lib中无关文件
4546
rm -rf "${TCA_ROOT}/${LIB_DIR_NAME}/.git"
47+
rm "${TCA_ROOT}/${LIB_DIR_NAME}/.gitattributes"
4648
ret=0
4749
fi
4850
fi

0 commit comments

Comments
 (0)