tFix memecount.log after introduced #printf line in annna-start-services - bitr… | |
git clone git://src.adamsgaard.dk/bitreich-memestats | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 9a39dea48b13099733de2f6ff98de64901702b09 | |
parent 0680bf6c1222b81a5fdab9e623f73d80c9dbc136 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Sun, 24 May 2020 12:44:50 +0200 | |
Fix memecount.log after introduced #printf line in annna-start-services | |
Diffstat: | |
M extract-memecount.sh | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/extract-memecount.sh b/extract-memecount.sh | |
t@@ -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 '{… | |
fi | |