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)"