[OE-core] [PATCH 1/1] toolchain-shar-extract.sh: fix path in example

Chen Qi Qi.Chen at windriver.com
Tue Oct 13 03:15:04 UTC 2015


$env_setup_script already contains $target_sdk_dir.
Fix the path in the example.

Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
---
 meta/files/toolchain-shar-extract.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/files/toolchain-shar-extract.sh b/meta/files/toolchain-shar-extract.sh
index 2ffc2d1..2eeb290 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
-- 
1.9.1




More information about the Openembedded-core mailing list