Code Review
/
releng
/
global-jjb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
29db2fd
)
Resolve shellcheck SC2219 use (()) instead of let
20/62820/3
author
Thanh Ha
<zxiiro@gmail.com>
Thu, 16 Jan 2020 00:20:54 +0000
(19:20 -0500)
committer
Anil Belur
<abelur@linuxfoundation.org>
Thu, 16 Jan 2020 02:57:28 +0000
(
02:57
+0000)
SC2219: Instead of 'let expr', prefer (( expr )) .
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: Ibb7b4c66915c1d4c95f3475a9a9535115a00463e
ensure-documented.sh
patch
|
blob
|
history
diff --git
a/ensure-documented.sh
b/ensure-documented.sh
index
928abdb
..
b24e40c
100755
(executable)
--- 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