aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/task
diff options
context:
space:
mode:
Diffstat (limited to 'bin/task')
-rwxr-xr-xbin/task/context2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/task/context b/bin/task/context
index 76e1984..75597b3 100755
--- a/bin/task/context
+++ b/bin/task/context
@@ -18,7 +18,7 @@ if [ -n "$1" ]; then
18 fi 18 fi
19 done <$LOG_FILE 19 done <$LOG_FILE
20 if [ "$update" = true ]; then 20 if [ "$update" = true ]; then
21 sed -i -E "s/^$context.*/$context\t$summary" $LOG_FILE 21 sed -i -E "s/^$context.*/$context\t$summary/" $LOG_FILE
22 else 22 else
23 echo -e "$context\t$count" >>$LOG_FILE 23 echo -e "$context\t$count" >>$LOG_FILE
24 fi 24 fi