modified output filename
This commit is contained in:
+2
-2
@@ -116,7 +116,7 @@ for repo_dir in */; do
|
|||||||
repo_count=$((repo_count + 1))
|
repo_count=$((repo_count + 1))
|
||||||
file_count=0
|
file_count=0
|
||||||
skipped_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
|
# Check if repo changed since last collection
|
||||||
if [ "$FORCE" = false ] && [ -f "$output_file" ]; then
|
if [ "$FORCE" = false ] && [ -f "$output_file" ]; then
|
||||||
@@ -237,7 +237,7 @@ if [ ${#updated_repos[@]} -gt 0 ]; then
|
|||||||
echo ""
|
echo ""
|
||||||
echo "Updated repos (upload these to project):"
|
echo "Updated repos (upload these to project):"
|
||||||
for repo in "${updated_repos[@]}"; do
|
for repo in "${updated_repos[@]}"; do
|
||||||
echo " -> ${OUTPUT_DIR}/${repo}.txt"
|
echo " -> ${OUTPUT_DIR}/repository-${repo}.txt"
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
echo "All repos up to date, nothing to upload."
|
echo "All repos up to date, nothing to upload."
|
||||||
|
|||||||
Reference in New Issue
Block a user