[OE-core] [PATCH] toolchain-scripts.bbclass: unset command_not_found_handle

Christopher Larson clarson at kergoth.com
Tue Dec 1 03:48:50 UTC 2015


On Mon, Nov 30, 2015 at 3:50 AM, Fang Jia <fang.jia at windriver.com> wrote:

> On Ubuntu-system, When sourcing the env.sh from an exported sdk, and
> running a bogus linux command (for example "asd"), a core dump of
> python is usually generated.
>
> Unset the command_not_found_handle to fix it.
>
> Signed-off-by: Fang Jia <fang.jia at windriver.com>
>

Will this syntax be valid for non-bash environments? What about dash and
zsh? You have to be careful to use portable constructs in a script which is
sourced like this.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20151130/c1552d8a/attachment-0002.html>


More information about the Openembedded-core mailing list