Skip to contentSkip to conversation

toolchain-shar-extract.sh: provide proper path for env_setup_script

PATCH New Maxin B. John 1 participant 1 message Oct 15, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta/files/toolchain-shar-extract.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/files/toolchain-shar-extract.sh +1 -1
index 2ffc2d1..2eeb290 100644
@@ -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
Signature · 1 line
2.4.0