]> code.ossystems Code Review - openembedded-core.git/commitdiff
toolchain-shar-extract.sh: provide proper path for env_setup_script
authorMaxin B. John <maxin.john@intel.com>
Thu, 15 Oct 2015 07:00:40 +0000 (10:00 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 19 Oct 2015 16:50:45 +0000 (17:50 +0100)
The toolchain install script suggest the user to source env_setup_script
from wrong path now. eg:

" Each time you wish to use the SDK in a new shell session, you need to
source the environment setup script e.g.
$ . /opt/poky/2.0//opt/poky/2.0/environment-setup-armv5e-poky-linux-gnueabi
"

fix it.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/files/toolchain-shar-extract.sh

index 2ffc2d1c07deade56cf7364104544b45b109197a..2eeb2903c8d9473910aec0042c7dd747f7689276 100644 (file)
@@ -183,7 +183,7 @@ fi
 echo "SDK has been successfully set up and is ready to be used."
 echo "Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g."
 for env_setup_script in `ls $target_sdk_dir/environment-setup-*`; do
-       echo " \$ . $target_sdk_dir/$env_setup_script"
+       echo " \$ . $env_setup_script"
 done
 
 exit 0