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:
@@ -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)" \
|
||||
|
||||
Reference in New Issue
Block a user