From d637fea1e7621fe4b2ca85c3918faccbf60f7bfd Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Mon, 3 Jun 2024 17:07:18 +0100 Subject: [PATCH] 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 --- tools/extract-patch-data.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tools/extract-patch-data.sh b/tools/extract-patch-data.sh index ecce8166..fa3dd73b 100644 --- a/tools/extract-patch-data.sh +++ b/tools/extract-patch-data.sh @@ -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**" \ "
"$DATE"" \ "
File: [$FILENAME](/build/patches/$FILENAME)" \