tools: remove dubious CR and SUBJECT handling

CR is (seemingly) unused, while the SUBJECT cannot be multi-line, so the
xargs doesn't do anything.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
Emil Velikov
2024-06-03 21:43:17 +01:00
parent 62947d3569
commit d637fea1e7
-4
View File
@@ -1,7 +1,5 @@
#!/bin/bash
CR=$(printf "\r")
while read current_line
do
if [[ $current_line =~ ^Filename:* ]]; then
@@ -40,8 +38,6 @@ done
# echo LICENSE: $LICENSE
# echo -e MESSAGE: $MESSAGE
SUBJECT=`echo $SUBJECT | xargs`
echo "|**$SUBJECT**" \
"<br><sub><nobr>"$DATE"</nobr>" \
"<br>File: [$FILENAME](/build/patches/$FILENAME)" \