]> granicus.if.org Git - python/commitdiff
Be more careful to avoid spurious output from the shell script that
authorFred Drake <fdrake@acm.org>
Wed, 14 Feb 2001 21:26:31 +0000 (21:26 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 14 Feb 2001 21:26:31 +0000 (21:26 +0000)
unpacks the development version of the docs on SF.

Doc/tools/update-docs.sh

index a996461c6ead5b846ce26c2f8bede0b6c7a1ab4c..b3b48ba8c361f03961275b374297423b9560c0ee 100755 (executable)
@@ -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