summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2021-02-02 19:23:41 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2021-02-04 07:51:10 +0100
commitac13ca44576e7dad0284744d7ece0ed4f5d9739e (patch)
treec033488ee46e593968c9bbb5210e21a2749a058d /bin
parentacfb03dbba5ef895cf9e06208f9aec8a40afbf9d (diff)
downloadptxdist-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-xbin/ptxdist5
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 &&