On Mon, Nov 30, 2015 at 11:04 PM, Robert Yang <liezhi.y...@windriver.com>
wrote:

> On 12/01/2015 11:48 AM, Christopher Larson wrote:
>
>> On Mon, Nov 30, 2015 at 3:50 AM, Fang Jia <fang....@windriver.com
>> <mailto:fang....@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....@windriver.com <mailto:
>> fang....@windriver.com>>
>>
>>
>> Will this syntax be valid for non-bash environments? What about dash and
>> zsh?
>>
>
> unset is part of posix shell, I think it's fine to use it here.


Ah, good point, for some reason I read it as unsetopt, but yes, clearly
unset is portable, ignore me. :)
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to