diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-11-15 16:08:45 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2010-11-15 16:08:45 -0700 |
commit | 29655d79ed27fd99eb9fb7f9ecd24e9c29491a33 (patch) | |
tree | 2c0e980501b0e24890af6efd9d8331944f1b64eb /classes | |
parent | fd2d95283d2b1e78fc0842ae07618a69ce5b5ac3 (diff) | |
download | openembedded-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.bbclass | 2 |
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") |