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"|" )