Skip to content

Commit

Permalink
#85 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Oct 2, 2023
1 parent f26d9a8 commit 04cbbfe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions steps/aggregate-repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ set -o pipefail
repo=$1
pos=$2
total=$3
all=$4

start=$(date +%s%N)

Expand Down
2 changes: 1 addition & 1 deletion steps/aggregate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ declare -i repo=0
sh="$(dirname "$0")/aggregate-repo.sh"
echo "${repos}" | while IFS= read -r r; do
repo=$((repo+1))
printf "%s %s %s %s\n" "${sh@Q}" "${r@Q}" "${repo@Q}" "${total@Q}" >> "${jobs}"
printf "%s %s %s %s %s\n" "${sh@Q}" "${r@Q}" "${repo@Q}" "${total@Q}" "${all@Q}" >> "${jobs}"
done
"${LOCAL}/help/parallel.sh" "${jobs}"
wait
Expand Down
3 changes: 1 addition & 2 deletions steps/clone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ declare -i repo=0
sh="$(dirname "$0")/clone-repo.sh"
while IFS=',' read -r r tag tail; do
repo=$((repo+1))
if [ -z "${tag}" ]; then tag='.'; fi
if [ -e "${TARGET}/github/${r}" ]; then
echo "${r}: Git repo is already here"
echo "${r}: Git repo is already here (${tail})"
else
printf "%s %s %s %s %s\n" "${sh@Q}" "${r@Q}" "${tag@Q}" "${repo@Q}" "${total@Q}" >> "${jobs}"
fi
Expand Down

0 comments on commit 04cbbfe

Please sign in to comment.