# exit 1
#}
-KERNEL_MINOR_VERSION='24'
+KERNEL_MINOR_VERSION='23'
KERNEL="2.6.$KERNEL_MINOR_VERSION"
EMAIL_ADDRESS='<gregkh@suse.de>'
# exit 1
# fi
echo "PATCH=$PATCH"
- SUBJECT=`grep "Subject:" $PATCH`
-# SUBJECT=$(head -n 2 $PATCH | tail -n 1)
+ TITLE=`grep "Subject:" $PATCH`
+# TITLE=$(head -n 2 $PATCH | tail -n 1)
MESSAGE_ID=`grep -i "^Message-ID:" $PATCH | cut -f 2 -d ' ' | cut -f 2 -d '<' | cut -f 1 -d '>'`
author AUTHOR $1 FIRST_AUTHOR
echo author said $AUTHOR
cc="-cc $cc"
fi
- echo makemail -to $AUTHOR -from=$FROM -subject="patch $PATCH added to $KERNEL-stable tree" -date="$(date -R)" -reply_to=$MESSAGE_ID
+ SUBJECT="patch $PATCH added to $KERNEL-stable tree"
+
+ echo makemail -to $AUTHOR -from=$FROM -subject="$SUBJECT" -date="$(date -R)" -reply_to=$MESSAGE_ID
echo smtpsend -server=$SMTP_SERVER $to -from=$FROM
echo -n "This is a note to let you know that we have just queued up the "
echo "patch titled"
echo
- echo " " $SUBJECT
+ echo " " $TITLE
echo
echo "to the "$KERNEL"-stable tree. Its filename is"
echo
sed -e 's/\/home\/gregkh\/linux\/stable\/stable-queue\///'
) |
makemail -to $AUTHOR -from=$FROM -cc="$STABLE, $STABLE_COMMITS" \
- -subject="patch $PATCH queued to -stable tree" \
+ -subject="$SUBJECT" \
-date="$(date -R)" \
-reply_to="$MESSAGE_ID" | \
# talk to the suse network instead of localhost (due to the way suse.de now handles email...)