Write errors to the stout as well.

svn path=/plone.app.discussion/trunk/; revision=39313
This commit is contained in:
Timo Stollenwerk 2010-08-28 19:18:33 +00:00
parent a1e81d4eaf
commit e37e48498b
1 changed files with 4 additions and 2 deletions

View File

@ -118,8 +118,10 @@ input = inline:
echo "Checking"
echo $TMPL
find plone/app/discussion -regex ".*\.[c|z]?pt" | xargs bin/zptlint > zptlint.log
if [ -s zptlint.log ]; then
echo "Errors were found, see zptlint.log for details"
if [ -s zptlint.log ]; then
echo "Errors were found:"
cat zptlint.log
echo "Errors were written to zptlint.log"
exit 1;
else
echo "No errors found"