summaryrefslogtreecommitdiff
path: root/capsule/build_loglog.bash
diff options
context:
space:
mode:
Diffstat (limited to 'capsule/build_loglog.bash')
-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)"