Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e4f1c32

Browse files
committed
Be more careful to avoid spurious output from the shell script that
unpacks the development version of the docs on SF.
1 parent 8bcc4e8 commit e4f1c32

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Doc/tools/update-docs.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ if [ -f "$UPDATES" ] ; then
2121
cd devel-docs || exit $?
2222
(bzip2 -dc "$UPDATES" | tar xf -) || exit $?
2323
rm "$UPDATES" || exit $?
24-
EXPLANATION="`cat $INFO`"
24+
if [ -f "$INFO" ] ; then
25+
EXPLANATION="`cat $INFO`"
26+
else
27+
EXPLANATION=''
28+
fi
2529
Mail -s '[development doc updates]' \
2630
2731
<<EOF

0 commit comments

Comments
 (0)