From: Maxin B. John Date: Thu, 15 Oct 2015 07:00:40 +0000 (+0300) Subject: toolchain-shar-extract.sh: provide proper path for env_setup_script X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~28621 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b388468deda8d81df80d1509226196a5390183a8;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git toolchain-shar-extract.sh: provide proper path for env_setup_script 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 Signed-off-by: Ross Burton --- diff --git a/meta/files/toolchain-shar-extract.sh b/meta/files/toolchain-shar-extract.sh index 2ffc2d1c07d..2eeb2903c8d 100644 --- a/meta/files/toolchain-shar-extract.sh +++ b/meta/files/toolchain-shar-extract.sh @@ -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