Skip to content

Commit 6d385fe

Browse files
committed
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
2 parents 5dd710c + 59d26bd commit 6d385fe

File tree

1 file changed

+1
-1
lines changed
  • contrib/thunderbird-patch-inline

1 file changed

+1
-1
lines changed

contrib/thunderbird-patch-inline/appp.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ BODY=$(sed -e "1,/${SEP}/d" $1)
3131
CMT_MSG=$(sed -e '1,/^$/d' -e '/^---$/,$d' "${PATCH}")
3232
DIFF=$(sed -e '1,/^---$/d' "${PATCH}")
3333

34-
CCS=$(echo -e "$CMT_MSG\n$HEADERS" | sed -n -e 's/^Cc: \(.*\)$/\1,/gp' \
34+
CCS=$(printf '%s\n%s\n' "$CMT_MSG" "$HEADERS" | sed -n -e 's/^Cc: \(.*\)$/\1,/gp' \
3535
-e 's/^Signed-off-by: \(.*\)/\1,/gp')
3636

3737
echo "$SUBJECT" > $1

0 commit comments

Comments
 (0)