Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix parallel tox mode when using bool jjb cfg
[releng/global-jjb.git]
/
ensure-documented.sh
diff --git
a/ensure-documented.sh
b/ensure-documented.sh
index
928abdb
..
823a542
100755
(executable)
--- a/
ensure-documented.sh
+++ b/
ensure-documented.sh
@@
-30,12
+30,12
@@
for file in "${jjb_files[@]}"; do
for item in "${docs_interests[@]}"; do
if ! grep -q "$item" "docs/${file//.yaml/.rst}"; then
echo "$file:$item"
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
fi
done
done
-if [
$undocumented_count
-gt 0 ]; then
+if [
"$undocumented_count"
-gt 0 ]; then
echo "Number of undocumented items: $undocumented_count"
exit 1
fi
echo "Number of undocumented items: $undocumented_count"
exit 1
fi