From dccd4a09e1ca22cf38d53d190d08456ed5a20bd4 Mon Sep 17 00:00:00 2001 From: rmgaliullin <45234065+RuslanGaliullin@users.noreply.github.com> Date: Tue, 21 Jan 2025 15:45:07 +0300 Subject: [PATCH] get rid of common slice file favor of repository-base slice file --- steps/aggregate-repo.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/steps/aggregate-repo.sh b/steps/aggregate-repo.sh index aaaf11ab..60f20c8f 100755 --- a/steps/aggregate-repo.sh +++ b/steps/aggregate-repo.sh @@ -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\..*$||")