diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2021-02-02 19:23:41 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2021-02-04 07:51:10 +0100 |
commit | ac13ca44576e7dad0284744d7ece0ed4f5d9739e (patch) | |
tree | c033488ee46e593968c9bbb5210e21a2749a058d /bin | |
parent | acfb03dbba5ef895cf9e06208f9aec8a40afbf9d (diff) | |
download | ptxdist-ac13ca44576e7dad0284744d7ece0ed4f5d9739e.tar.gz ptxdist-ac13ca44576e7dad0284744d7ece0ed4f5d9739e.tar.xz |
ptxdist: cleanup lint output
- shorten the error messages
- just one error at the end instead of 3 different ones
(from the function, make and ptxdist)
Acked-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ptxdist | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/ptxdist b/bin/ptxdist index 37c3c7aaa..80f21064d 100755 --- a/bin/ptxdist +++ b/bin/ptxdist @@ -1825,7 +1825,10 @@ EOF lint) export PTXDIST_GEN_ALL=1 check_premake_compiler && - ptxd_make_log ptxdist-lint + ptxd_make_log ptxdist-lint && + if [ -e "${PTXDIST_TEMPDIR}/lint-failed" ]; then + ptxd_bailout "lint checks failed" + fi ;; list-packages) check_config && |