Skip to content

Commit 204152c

Browse files
committed
set -e for docs.sh
1 parent 4855821 commit 204152c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/scripts/travis/docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ set +e
1212
linkchecker doc/cn/html/index.html > doc_cn.out
1313
linkchecker doc/en/html/index.html > doc_en.out
1414
for i in doc_cn.out doc_en.out; do
15-
echo $i
1615
grep " 0 errors found" $i
1716
if [ $? -ne 0 ]; then
1817
cat $i
1918
exit 1
2019
fi
2120
done
21+
set -e
2222

2323
# Parse Github URL
2424
REPO=`git config remote.origin.url`

0 commit comments

Comments
 (0)