bitreich-memestats

statistical analysis of tags in Freenode/#bitreich-en
git clone git://src.adamsgaard.dk/bitreich-memestats
Log | Files | Refs | LICENSE Back to index

commit 9a39dea48b13099733de2f6ff98de64901702b09
parent 0680bf6c1222b81a5fdab9e623f73d80c9dbc136
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Sun, 24 May 2020 12:44:50 +0200

Fix memecount.log after introduced #printf line in annna-start-services

Diffstat:
Mextract-memecount.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extract-memecount.sh b/extract-memecount.sh @@ -26,7 +26,7 @@ git log --pretty='format:%H %cd %at' --date="format:%Y-%m-%d" | \ grep -E '^ #[a-z0-9]' | wc -l | awk '{print $1}')" # ...but are now stored in $memefile - if [ "$n" -eq 0 ]; then + if [ "$n" -le 1 ]; then n="$(git show "$commit:$memefile" 2>/dev/null | wc -l | awk '{print $1}')" fi