diff options
author | Fred Drake <fdrake@acm.org> | 2000-11-30 07:38:59 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-11-30 07:38:59 (GMT) |
commit | 827bb9fb3c6c3889c046404df171a0b8f383eb23 (patch) | |
tree | af3ab5b8dae11506ec310258d47703fc99801b8a /Doc/tools/update-docs.sh | |
parent | e463f8e4cd134357ecda7881677c668c67bc4a3d (diff) | |
download | cpython-827bb9fb3c6c3889c046404df171a0b8f383eb23.zip cpython-827bb9fb3c6c3889c046404df171a0b8f383eb23.tar.gz cpython-827bb9fb3c6c3889c046404df171a0b8f383eb23.tar.bz2 |
Adjust to allow an explanation of the changes to be included in the
notification message.
Diffstat (limited to 'Doc/tools/update-docs.sh')
-rwxr-xr-x | Doc/tools/update-docs.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Doc/tools/update-docs.sh b/Doc/tools/update-docs.sh index 01ebfdf..a996461 100755 --- a/Doc/tools/update-docs.sh +++ b/Doc/tools/update-docs.sh @@ -11,7 +11,8 @@ if [ -z "$HOME" ] ; then export HOME fi -UPDATES=/home/users/fdrake/python-docs-update.tar.bz2 +UPDATES=$HOME/python-docs-update.tar.bz2 +INFO=$HOME/python-docs-update.txt if [ -f "$UPDATES" ] ; then cd /home/groups/python/htdocs @@ -20,11 +21,15 @@ if [ -f "$UPDATES" ] ; then cd devel-docs || exit $? (bzip2 -dc "$UPDATES" | tar xf -) || exit $? rm "$UPDATES" || exit $? + EXPLANATION="`cat $INFO`" Mail -s '[development doc updates]' \ python-dev@python.org doc-sig@python.org \ <<EOF The development version of the documentation has been updated: http://python.sourceforge.net/devel-docs/ + +$EXPLANATION EOF + rm -f $HOME/python-docs-update.txt fi |