From: Thanh Ha Date: Thu, 16 Jan 2020 00:20:54 +0000 (-0500) Subject: Resolve shellcheck SC2219 use (()) instead of let X-Git-Tag: v0.50.0~18 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=a1930e2a01ccdbbf31844e88a8f6243980ebb01a;p=releng%2Fglobal-jjb.git Resolve shellcheck SC2219 use (()) instead of let SC2219: Instead of 'let expr', prefer (( expr )) . Signed-off-by: Thanh Ha Change-Id: Ibb7b4c66915c1d4c95f3475a9a9535115a00463e --- diff --git a/ensure-documented.sh b/ensure-documented.sh index 928abdb7..b24e40c8 100755 --- a/ensure-documented.sh +++ b/ensure-documented.sh @@ -30,7 +30,7 @@ for file in "${jjb_files[@]}"; do for item in "${docs_interests[@]}"; do if ! grep -q "$item" "docs/${file//.yaml/.rst}"; then echo "$file:$item" - let "undocumented_count++" + (( undocumented_count++ )) fi done done