[LINT] Improve robustness in task_lint.sh logic (#3315)
authorMarcus Shawcroft <marcus.shawcroft@arm.com>
Fri, 7 Jun 2019 16:07:36 +0000 (17:07 +0100)
committerTianqi Chen <tqchen@users.noreply.github.com>
Fri, 7 Jun 2019 16:07:36 +0000 (09:07 -0700)
commita7af3ef441942ee5080f92d77e749daa83f4fca4
tree0bbca53fd33d912f11d96ac3670b3bb90a2eaf35
parentef14257766ba3ef2ce2a46e53c8a808487708034
[LINT] Improve robustness in task_lint.sh logic (#3315)

The existing RAT ASF license auditing logic ignores any failure in the
shell pipeline rather than just the exit code of the final grep.
Adjust the logic such that failure of the various tools in the
pipeline are not elided away.
tests/scripts/task_lint.sh