diff --git a/common/travis/xlint.sh b/common/travis/xlint.sh index 56714bcd3a2..753d4a1fa51 100755 --- a/common/travis/xlint.sh +++ b/common/travis/xlint.sh @@ -4,7 +4,9 @@ [ "$XLINT" ] || exit 0 -awk '{ print "srcpkgs/" $0 "/template" }' /tmp/templates | while read -r t; do +EXITCODE=0 +for t in $(awk '{ print "srcpkgs/" $0 "/template" }' /tmp/templates); do /bin/echo -e "\x1b[32mLinting $t...\x1b[0m" - xlint "$t" + xlint "$t" || EXITCODE=$? done +exit $EXITCODE