From: Fred Drake Date: Wed, 14 Feb 2001 21:26:31 +0000 (+0000) Subject: Be more careful to avoid spurious output from the shell script that X-Git-Tag: v2.1b1~363 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e4f1c3276ac0e429ae452a5c23e2a70237e709c0;p=python Be more careful to avoid spurious output from the shell script that unpacks the development version of the docs on SF. --- diff --git a/Doc/tools/update-docs.sh b/Doc/tools/update-docs.sh index a996461c6e..b3b48ba8c3 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 \ <