mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
Merge rolltop.ignatz42.dyndns.org:/mnt/storeage/bksendmailfix/my50-bksendmailfix
into rolltop.ignatz42.dyndns.org:/mnt/storeage/mysql-5.0-maint
This commit is contained in:
commit
1528d04fea
1 changed files with 9 additions and 3 deletions
|
@ -8,6 +8,12 @@ LIMIT=10000
|
||||||
VERSION="5.0"
|
VERSION="5.0"
|
||||||
BKROOT=`bk root`
|
BKROOT=`bk root`
|
||||||
|
|
||||||
|
if [ -x /usr/sbin/sendmail ]; then
|
||||||
|
SENDMAIL=/usr/sbin/sendmail
|
||||||
|
else
|
||||||
|
SENDMAIL=sendmail
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$REAL_EMAIL" = "" ]
|
if [ "$REAL_EMAIL" = "" ]
|
||||||
then
|
then
|
||||||
echo "Warning: you must set REAL_EMAIL in your profile"
|
echo "Warning: you must set REAL_EMAIL in your profile"
|
||||||
|
@ -61,7 +67,7 @@ EOF
|
||||||
bk cset -r+ -d
|
bk cset -r+ -d
|
||||||
) > $BKROOT/BitKeeper/tmp/dev_public.txt
|
) > $BKROOT/BitKeeper/tmp/dev_public.txt
|
||||||
|
|
||||||
bk sendmail -t < $BKROOT/BitKeeper/tmp/dev_public.txt
|
$SENDMAIL -t < $BKROOT/BitKeeper/tmp/dev_public.txt
|
||||||
|
|
||||||
#++
|
#++
|
||||||
# commits@ mail
|
# commits@ mail
|
||||||
|
@ -87,7 +93,7 @@ EOF
|
||||||
bk cset -r+ -d
|
bk cset -r+ -d
|
||||||
) | bk sed -e ${LIMIT}q > $BKROOT/BitKeeper/tmp/commits.txt
|
) | bk sed -e ${LIMIT}q > $BKROOT/BitKeeper/tmp/commits.txt
|
||||||
|
|
||||||
bk sendmail -t < $BKROOT/BitKeeper/tmp/commits.txt
|
$SENDMAIL -t < $BKROOT/BitKeeper/tmp/commits.txt
|
||||||
|
|
||||||
#++
|
#++
|
||||||
# docs-commit@ mail
|
# docs-commit@ mail
|
||||||
|
@ -108,7 +114,7 @@ EOF
|
||||||
bk changes -v -r+
|
bk changes -v -r+
|
||||||
bk cset -r+ -d
|
bk cset -r+ -d
|
||||||
) > $BKROOT/BitKeeper/tmp/docs.txt
|
) > $BKROOT/BitKeeper/tmp/docs.txt
|
||||||
bk sendmail -t < $BKROOT/BitKeeper/tmp/docs.txt
|
$SENDMAIL -t < $BKROOT/BitKeeper/tmp/docs.txt
|
||||||
fi
|
fi
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue