modified output filename

This commit is contained in:
2026-02-12 12:15:19 +01:00
parent 7b0dcd6c9d
commit 49e8a9794a
+2 -2
View File
@@ -116,7 +116,7 @@ for repo_dir in */; do
repo_count=$((repo_count + 1))
file_count=0
skipped_count=0
output_file="${OUTPUT_DIR}/${repo_dir}.txt"
output_file="${OUTPUT_DIR}/repository-${repo_dir}.txt"
# Check if repo changed since last collection
if [ "$FORCE" = false ] && [ -f "$output_file" ]; then
@@ -237,7 +237,7 @@ if [ ${#updated_repos[@]} -gt 0 ]; then
echo ""
echo "Updated repos (upload these to project):"
for repo in "${updated_repos[@]}"; do
echo " -> ${OUTPUT_DIR}/${repo}.txt"
echo " -> ${OUTPUT_DIR}/repository-${repo}.txt"
done
else
echo "All repos up to date, nothing to upload."