From: Chris Larson Date: Mon, 15 Nov 2010 23:08:45 +0000 (-0700) Subject: checkbashisms: add nicer error when checkbashisms isn't available X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29655d79ed27fd99eb9fb7f9ecd24e9c29491a33;p=openembedded.git checkbashisms: add nicer error when checkbashisms isn't available Signed-off-by: Chris Larson --- 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")