diff --git a/.ci/get_test_matrix.sh b/.ci/get_test_matrix.sh index cb16191dba..5d903ef6d9 100755 --- a/.ci/get_test_matrix.sh +++ b/.ci/get_test_matrix.sh @@ -16,7 +16,7 @@ REPOS=$(./.ci/parse_yaml.py $YAML_FILE $ARCH) FIRST=true -echo "[" +echo -n "[" echo "$REPOS" | while IFS= read -r REPO; do @@ -30,7 +30,12 @@ echo "$REPOS" | while IFS= read -r REPO; do continue fi - echo "$PACKAGE," + if $FIRST; then + echo -n "$PACKAGE" + FIRST=false + else + echo -n ", $PACKAGE" + fi done