From abde6d117a4f983648e7f3c6f2114c412a95e2f3 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Mon, 3 Jun 2024 16:40:16 +0100 Subject: [PATCH] tools: remove unused fields Category/Context Signed-off-by: Emil Velikov --- tools/extract-patch-data.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tools/extract-patch-data.sh b/tools/extract-patch-data.sh index 4823313d..dc918677 100644 --- a/tools/extract-patch-data.sh +++ b/tools/extract-patch-data.sh @@ -15,18 +15,12 @@ do elif [[ $current_line =~ ^License:* ]]; then LICENSE=`echo ${current_line:9} | cut -d ' ' -f1` - elif [[ $current_line =~ ^Category:* ]]; then - CATEGORY=`echo ${current_line:9} | cut -d ' ' -f1` - elif [[ $current_line =~ ^"Original License:"* ]]; then continue elif [[ $current_line =~ ^From:* ]]; then FROM=`echo ${current_line:5} | cut -d ' ' -f1` - elif [[ $current_line =~ ^Context:* ]]; then - CONTEXT=${current_line:8} - elif [[ $current_line =~ ^---* ]]; then break @@ -43,8 +37,6 @@ done # echo SUBJECT: $SUBJECT # echo DATE: $DATE # echo LICENSE: $LICENSE -# echo CONTEXT: $CONTEXT -# echo CATEGORY: $CATEGORY # echo -e MESSAGE: $MESSAGE SUBJECT=`echo $SUBJECT | xargs` @@ -53,7 +45,6 @@ echo "|**$SUBJECT**" \ "
"$DATE"" \ "
File: [$(basename $PATCH)](/build/patches/$(basename $PATCH))" \ "
Author: "$FROM"" \ - "
Context: "$CONTEXT"" \ "
License: "$LICENSE"" \ "|"$MESSAGE"|" )