From e4f1c3276ac0e429ae452a5c23e2a70237e709c0 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Wed, 14 Feb 2001 21:26:31 +0000 Subject: [PATCH] Be more careful to avoid spurious output from the shell script that unpacks the development version of the docs on SF. --- Doc/tools/update-docs.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Doc/tools/update-docs.sh b/Doc/tools/update-docs.sh index a996461c6ead..b3b48ba8c361 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 \ <