Skip to content

Commit

Permalink
Merge pull request #410 from RuslanGaliullin/patch-1
Browse files Browse the repository at this point in the history
Data races in aggregate-repo.sh step
  • Loading branch information
yegor256 authored Jan 21, 2025
2 parents 811011b + dccd4a0 commit 2177227
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion steps/aggregate-repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ find "${dir}" -type f -name '*.m' > "${mfiles}"
sum=0
declare -i files=0
while IFS= read -r m; do
slice=${TARGET}/temp/mfiles-slice.txt
slice=${TARGET}/temp/mfiles-slice/${repo}.txt
mkdir -p "$(dirname "${slice}")"
find "$(dirname "${m}")" -name "$(basename "${m}").*" -type f -print > "${slice}"
while IFS= read -r v; do
java=$(echo "${v}" | sed "s|${dir}||" | sed "s|\.m\..*$||")
Expand Down

0 comments on commit 2177227

Please sign in to comment.