diff options
author | Fred Drake <fdrake@acm.org> | 2001-02-14 21:26:31 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-02-14 21:26:31 (GMT) |
commit | e4f1c3276ac0e429ae452a5c23e2a70237e709c0 (patch) | |
tree | fa91c9ab7d3fd5c627192fac7ad299c7abf9e9e0 | |
parent | 8bcc4e8446de0e5573897799f00ec42b863f1752 (diff) | |
download | cpython-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.
-rwxr-xr-x | Doc/tools/update-docs.sh | 6 |
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 |