From 2170628fa3473a16b9442f6a5678e598566f2f0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E6=B5=A9=E4=BB=94?= Date: Sat, 29 May 2021 17:44:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BB=93=E5=BA=93=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E5=A4=B1=E8=B4=A5=20=E9=87=8D=E5=A4=8D=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=AE=9A=E6=97=B6=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 仓库更新失败时,没找到对应仓库目录,会把其他仓库的脚本添加前缀重复添加到定时。 --- shell/update.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shell/update.sh b/shell/update.sh index 8dd6427d..830a5cce 100755 --- a/shell/update.sh +++ b/shell/update.sh @@ -171,11 +171,10 @@ update_repo() { fi if [[ $exit_status -eq 0 ]]; then echo -e "\n更新${repo_path}成功...\n" + diff_scripts $repo_path $author $path $blackword $dependence else echo -e "\n更新${repo_path}失败,请检查原因...\n" fi - - diff_scripts $repo_path $author $path $blackword $dependence } ## 更新所有 raw 文件