summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-11-15 16:08:45 -0700
committerChris Larson <chris_larson@mentor.com>2010-11-15 16:08:45 -0700
commit29655d79ed27fd99eb9fb7f9ecd24e9c29491a33 (patch)
tree2c0e980501b0e24890af6efd9d8331944f1b64eb /classes
parentfd2d95283d2b1e78fc0842ae07618a69ce5b5ac3 (diff)
downloadopenembedded-29655d79ed27fd99eb9fb7f9ecd24e9c29491a33.tar.gz
checkbashisms: add nicer error when checkbashisms isn't available
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/checkbashisms.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/checkbashisms.bbclass b/classes/checkbashisms.bbclass
index 3a38e34d52..1249c210dc 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")