From 480959ecbd1f11db2bc12d5c03bc3419d57c5a29 Mon Sep 17 00:00:00 2001 From: "Xingyu.Wang" Date: Wed, 24 Oct 2018 15:29:16 +0800 Subject: [PATCH] Update identify.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改算术语法错误 --- scripts/check/identify.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check/identify.sh b/scripts/check/identify.sh index 195ca4b669..f8e4c44160 100644 --- a/scripts/check/identify.sh +++ b/scripts/check/identify.sh @@ -51,7 +51,7 @@ rule_translation_revised() { # 发布译文:发布多篇译文 rule_translation_published() { [ "$TSL_D" -ge 1 ] && [ "$PUB_A" -ge 1 ] && [ "$TSL_D" -eq "$PUB_A" ] \ - && [ "$TOTAL" -eq $(("$TSL_D" + "$PUB_A")) ] \ + && [ "$TOTAL" -eq $(($TSL_D + $PUB_A)) ] \ && echo "匹配规则:发布译文 ${PUB_A} 篇" }