Skip to content

Commit

Permalink
#85 echo instead of for
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Oct 2, 2023
1 parent edf7ad1 commit ba007ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions steps/aggregate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ touch "${jobs}"

declare -i repo=0
sh="$(dirname "$0")/aggregate-repo.sh"
for r in ${repos}; do
echo "${repos}" | while read -r r; do
repo=$((repo+1))
printf "%s %s %s %s\n" "${sh@Q}" "${r@Q}" "${repo@Q}" "${total@Q}" >> "${jobs}"
done
Expand All @@ -47,7 +47,7 @@ wait

rm -rf "${TARGET}/data/*.csv"
printf "repository,file" >> "${TARGET}/data/all.csv"
for a in ${all}; do
echo "${all}" | while read -r a; do
printf ',%s' "${a}" >> "${TARGET}/data/all.csv"
done
printf "\n" >> "${TARGET}/data/all.csv"
Expand Down

0 comments on commit ba007ae

Please sign in to comment.