# exit 1
#}
+KERNEL_MINOR_VERSION='22'
+KERNEL="2.6.$KERNEL_MINOR_VERSION"
+
EMAIL_ADDRESS='<gregkh@suse.de>'
STABLE='<stable@kernel.org>'
+STABLE_COMMITS='<stable-commits@vger.kernel.org>'
extract_addr()
{
cc="-cc $cc"
fi
- echo makemail -to $AUTHOR -from=$FROM -subject="patch $PATCH added to stable tree" -date="$(date -R)" -reply_to=$MESSAGE_ID
+ echo makemail -to $AUTHOR -from=$FROM -subject="patch $PATCH added to -stable tree" -date="$(date -R)" -reply_to=$MESSAGE_ID
echo smtpsend -server=$SMTP_SERVER $to -from=$FROM
echo
echo " " $SUBJECT
echo
- echo "to the 2.6.18-stable tree. Its filename is"
+ echo "to the "$KERNEL"-stable tree. Its filename is"
echo
echo " " $PATCH
echo
echo -n "Patches currently in stable-queue which might be from "
echo "$FIRST_AUTHOR are"
echo
- grep -lR $FIRST_AUTHOR /home/greg/linux/stable/stable-queue/queue-2.6.18/ 2> /dev/null |
- sed -e 's/\/home\/greg\/linux\/stable\/stable-queue\///'
+ grep -lR $FIRST_AUTHOR /home/gregkh/linux/stable/stable-queue/queue-$KERNEL/ 2> /dev/null |
+ sed -e 's/\/home\/gregkh\/linux\/stable\/stable-queue\///'
) |
- makemail -to $AUTHOR -from=$FROM -cc=$STABLE\
+ makemail -to $AUTHOR -from=$FROM -cc="$STABLE, $STABLE_COMMITS" \
-subject="patch $PATCH queued to -stable tree" \
-date="$(date -R)" \
-reply_to="$MESSAGE_ID" | \