summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-04-25 09:39:15 +0100
committerJoe Carstairs <me@joeac.net>2026-04-25 09:39:15 +0100
commit69a1ffb7b925ca1d60471ea5941738f154c95fde (patch)
tree04897a4cd17897c31b6cffb490b52f356ffc156a
parentf9e28d619175f2cf0cbf47ed827ece88c74fb4b8 (diff)
fix build_loglog.bash bug where every entry has the same date
-rw-r--r--capsule/build_loglog.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/capsule/build_loglog.bash b/capsule/build_loglog.bash
index f98e293..e4bf8a6 100644
--- a/capsule/build_loglog.bash
+++ b/capsule/build_loglog.bash
@@ -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)"