summaryrefslogtreecommitdiffstats
path: root/Doc/tools/update-docs.sh
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-02-14 21:26:31 (GMT)
committerFred Drake <fdrake@acm.org>2001-02-14 21:26:31 (GMT)
commite4f1c3276ac0e429ae452a5c23e2a70237e709c0 (patch)
treefa91c9ab7d3fd5c627192fac7ad299c7abf9e9e0 /Doc/tools/update-docs.sh
parent8bcc4e8446de0e5573897799f00ec42b863f1752 (diff)
downloadcpython-e4f1c3276ac0e429ae452a5c23e2a70237e709c0.zip
cpython-e4f1c3276ac0e429ae452a5c23e2a70237e709c0.tar.gz
cpython-e4f1c3276ac0e429ae452a5c23e2a70237e709c0.tar.bz2
Be more careful to avoid spurious output from the shell script that
unpacks the development version of the docs on SF.
Diffstat (limited to 'Doc/tools/update-docs.sh')
-rwxr-xr-xDoc/tools/update-docs.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/tools/update-docs.sh b/Doc/tools/update-docs.sh
index a996461..b3b48ba 100755
--- a/Doc/tools/update-docs.sh
+++ b/Doc/tools/update-docs.sh
@@ -21,7 +21,11 @@ if [ -f "$UPDATES" ] ; then
cd devel-docs || exit $?
(bzip2 -dc "$UPDATES" | tar xf -) || exit $?
rm "$UPDATES" || exit $?
- EXPLANATION="`cat $INFO`"
+ if [ -f "$INFO" ] ; then
+ EXPLANATION="`cat $INFO`"
+ else
+ EXPLANATION=''
+ fi
Mail -s '[development doc updates]' \
python-dev@python.org doc-sig@python.org \
<<EOF