]> code.ossystems Code Review - openembedded-core.git/commit
classes/populate_sdk_ext: fix missing environment settings if running installer with sh
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 22 Sep 2015 16:21:16 +0000 (17:21 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 22 Sep 2015 17:12:51 +0000 (18:12 +0100)
commitba0f6b6ec32275329ebbb7c27f661c027b7a921d
tree1372e08a193ed2d67b6362ee51a8d1c704864dc4
parentbbec2ee98a08270c681189a6ba26beb1034d3e2f
classes/populate_sdk_ext: fix missing environment settings if running installer with sh

If you ran the extensible SDK installer file with sh (instead of bash),
then the additional call to buildtools environment setup, extension of
PATH to support running devtool, and setting of OE_SKIP_SDK_CHECK
weren't being added to the end of the script. This is because apparently
bash is happy to expand wildcards in the target of a redirection, but
bash running in POSIX sh mode won't (although it apparently does work on
the sh command line rather than within a script run as an argument to
sh). In any case using a wildcard here is a bit of a crutch which we
don't need, so replace it with the proper path to the environment setup
script.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk_ext.bbclass