summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-02-18 15:30:33 -0800
committerJunio C Hamano <gitster@pobox.com>2025-02-18 15:30:33 -0800
commit6d385fe277a467fea1c24adbc0d7b77472896904 (patch)
treecb559276034aa07187fc009eeefa729ca59314bb
parent5dd710cb628d10abe95fac61afb35cf798779589 (diff)
parent59d26bd9619c1bb37b1ccb4a93a71221bec46e12 (diff)
downloadgit-6d385fe277a467fea1c24adbc0d7b77472896904.tar.xz
Merge branch 'bc/contrib-thunderbird-patch-inline-fix'
A thunderbird helper script lost its bashism. * bc/contrib-thunderbird-patch-inline-fix: thunderbird-patch-inline: avoid bashism
-rwxr-xr-xcontrib/thunderbird-patch-inline/appp.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/thunderbird-patch-inline/appp.sh b/contrib/thunderbird-patch-inline/appp.sh
index 1053872eea..fdcc948352 100755
--- a/contrib/thunderbird-patch-inline/appp.sh
+++ b/contrib/thunderbird-patch-inline/appp.sh
@@ -31,7 +31,7 @@ BODY=$(sed -e "1,/${SEP}/d" $1)
CMT_MSG=$(sed -e '1,/^$/d' -e '/^---$/,$d' "${PATCH}")
DIFF=$(sed -e '1,/^---$/d' "${PATCH}")
-CCS=$(echo -e "$CMT_MSG\n$HEADERS" | sed -n -e 's/^Cc: \(.*\)$/\1,/gp' \
+CCS=$(printf '%s\n%s\n' "$CMT_MSG" "$HEADERS" | sed -n -e 's/^Cc: \(.*\)$/\1,/gp' \
-e 's/^Signed-off-by: \(.*\)/\1,/gp')
echo "$SUBJECT" > $1