diff options
author | Stephano Cetola <stephano.cetola@linux.intel.com> | 2016-04-28 13:43:27 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-06 10:30:55 +0100 |
commit | eef010bd91933d0c4b917d12e5716aa7e16b7307 (patch) | |
tree | ddb866bc58d06487bb261ff947756b1dcc8a6e43 /meta/classes/toolchain-scripts.bbclass | |
parent | cb6388a6527c5afa614ecf6f94808f55a06510d5 (diff) | |
download | openembedded-core-eef010bd91933d0c4b917d12e5716aa7e16b7307.tar.gz openembedded-core-eef010bd91933d0c4b917d12e5716aa7e16b7307.tar.bz2 openembedded-core-eef010bd91933d0c4b917d12e5716aa7e16b7307.zip |
toolchain-scripts: replace source built-in call
Some shells (e.g. dash) do not support the source built-in. This
replaces it with the dot operator.
[ YOCTO #9535 ]
Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/toolchain-scripts.bbclass')
-rw-r--r-- | meta/classes/toolchain-scripts.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index 2e2c93af41..02e69c8400 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classes/toolchain-scripts.bbclass @@ -89,12 +89,12 @@ toolchain_shared_env_script () { # Append environment subscripts if [ -d "\$OECORE_TARGET_SYSROOT/environment-setup.d" ]; then for envfile in \$OECORE_TARGET_SYSROOT/environment-setup.d/*.sh; do - source \$envfile + . \$envfile done fi if [ -d "\$OECORE_NATIVE_SYSROOT/environment-setup.d" ]; then for envfile in \$OECORE_NATIVE_SYSROOT/environment-setup.d/*.sh; do - source \$envfile + . \$envfile done fi EOF |