fix build_loglog.bash bug where every entry has the same date

This commit is contained in:
2026-04-25 09:39:15 +01:00
parent f9e28d6191
commit 69a1ffb7b9
+1 -1
View File
@@ -87,7 +87,7 @@ trim_entries()
append_entries_for_date()
{
DATE_DIR="$1"
DATE="$(echo "$DATE" | sed "s/.*\///g")"
DATE="$(echo "$DATE_DIR" | sed "s/.*\///g")"
echo "## $DATE
" >> "$LOGLOG"
ENTRY_COUNT="$(ls $DATE_DIR | wc -l)"