[oe-commits] Chris Larson : checkbashisms: add nicer error when checkbashisms isn' t available
git version control
git at git.openembedded.org
Mon Nov 15 23:15:23 UTC 2010
Module: openembedded.git
Branch: master
Commit: 29655d79ed27fd99eb9fb7f9ecd24e9c29491a33
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=29655d79ed27fd99eb9fb7f9ecd24e9c29491a33
Author: Chris Larson <chris_larson at mentor.com>
Date: Mon Nov 15 16:08:45 2010 -0700
checkbashisms: add nicer error when checkbashisms isn't available
Signed-off-by: Chris Larson <chris_larson at mentor.com>
---
classes/checkbashisms.bbclass | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/classes/checkbashisms.bbclass b/classes/checkbashisms.bbclass
index 3a38e34..1249c21 100644
--- a/classes/checkbashisms.bbclass
+++ b/classes/checkbashisms.bbclass
@@ -21,6 +21,8 @@ python do_checkbashisms () {
if not errors:
errors = True
bb.note(str(exc))
+ except oe.process.NotFoundError, exc:
+ bb.fatal("checkbashisms not found, please install it in your PATH")
if errors:
bb.fatal("bashisms were identified, aborting")
More information about the Openembedded-commits
mailing list