Skip to content

Commit

Permalink
Merge branch 'bc/contrib-thunderbird-patch-inline-fix'
Browse files Browse the repository at this point in the history
A thunderbird helper script lost its bashism.

* bc/contrib-thunderbird-patch-inline-fix:
  thunderbird-patch-inline: avoid bashism
  • Loading branch information
gitster committed Feb 18, 2025
2 parents 5dd710c + 59d26bd commit 6d385fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/thunderbird-patch-inline/appp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6d385fe

Please sign in to comment.