Skip to content

Commit

Permalink
#71 typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Sep 20, 2023
1 parent e0d7121 commit 36a68bc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion steps/jpeek.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ touch "${jobs}"
repos=$(find "${TARGET}/github" -maxdepth 2 -mindepth 2 -type d -print)
total=$(echo "${repos}" | wc -l | xargs)

dir="${TARGET}/temp/jpeek/all"
mkdir -p "${dir}"

declare -i repo=0
for d in ${repos}; do
r=$(echo "${d}" | sed "s|${TARGET}/github/||")
Expand All @@ -43,6 +46,6 @@ done
cat "${jobs}" | uniq | xargs -I {} -P "$(nproc)" "${SHELL}" -c "{}"
wait

done=$(find "${TARGET}/temp/jpeek/all" -maxdepth 2 -mindepth 2 -type d -print | wc -l | xargs)
done=$(find "${dir}" -maxdepth 2 -mindepth 2 -type d -print | wc -l | xargs)

echo "All ${total} repositories passed through jPeek, ${done} of them produced data, in $(nproc) threads, in $(echo "$(date +%s) - ${start}" | bc)s"

0 comments on commit 36a68bc

Please sign in to comment.