X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=ensure-documented.sh;h=cab15fcb485c976e3e8cc65efd90628a4561c99b;hb=refs%2Fheads%2Fv0.21.x;hp=a2ca07217858836bb81d12a9a236dc92f3d20686;hpb=df523ff68c8dbf3ad8eb09ef9cc04825bba86a4f;p=releng%2Fglobal-jjb.git diff --git a/ensure-documented.sh b/ensure-documented.sh index a2ca0721..cab15fcb 100755 --- a/ensure-documented.sh +++ b/ensure-documented.sh @@ -11,7 +11,7 @@ # Checks for JJB documentation interest points and ensures they are documented. -jjb_files=($(find jjb -name "*.yaml")) +mapfile -t jjb_files < <(find jjb -name "*.yaml") undocumented_count=0 for file in "${jjb_files[@]}"; do