This commit is contained in:
Para Dox
2025-04-27 19:30:25 +07:00
parent 1eb8a58fb2
commit 5a080c522c

View File

@@ -37,7 +37,7 @@ for base in "${unique_base_files_array[@]}"; do
group_name=$(echo "$filename" | cut -d_ -f3) group_name=$(echo "$filename" | cut -d_ -f3)
# Store the full path base name, grouped by the extracted group name # Store the full path base name, grouped by the extracted group name
if [[ "$group_name" == "receipts" || "$group_name" == "transactions" ]]; then if [[ "$group_name" == "headers" || "$group_name" == "receipts" || "$group_name" == "transactions" ]]; then
groups["$group_name"]+="$base " # Append base path with a space separator groups["$group_name"]+="$base " # Append base path with a space separator
else else
echo "Warning: Skipping file with unexpected group name: $base" echo "Warning: Skipping file with unexpected group name: $base"