From dc2e6446d514e6d6cda4796ce538f5e3ff25fbb0 Mon Sep 17 00:00:00 2001 From: Rick Barenthin Date: Thu, 2 Jun 2022 00:34:03 +0200 Subject: [PATCH] fix(conventi): fix `conventi.sh` function `get_commit_body()` --- build/conventi/conventi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/conventi/conventi.sh b/build/conventi/conventi.sh index cc9f527..66733c4 100755 --- a/build/conventi/conventi.sh +++ b/build/conventi/conventi.sh @@ -170,7 +170,7 @@ get_commit_footer() { } get_commit_body() { - pattern=$(get_commit_footer "$1" | head -n 1) + pattern=$(get_commit_footer "$1" | head -n 1 | sed -e 's/[]\/$*.^[]/\\&/g') if [ -n "$pattern" ]; then echo "$1" | sed -e "/$pattern/,\$d" else