[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    [OE-core] [PATCH] adt-installer: do not dereference symlinks when relocating
From:       laurentiu.palcu () intel ! com (Laurentiu Palcu)
Date:       2013-04-30 15:02:10
Message-ID: 1367334130-8919-1-git-send-email-laurentiu.palcu () intel ! com
[Download RAW message or body]

This was already fixed for meta-toolchain.

[YOCTO #4157]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu at intel.com>
---
 .../adt-installer/scripts/adt_installer_internal   |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal \
b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal index \
                b80a7ed..4322964 100755
--- a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
+++ b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
@@ -217,7 +217,7 @@ find $OECORE_NATIVE_SYSROOT -type f -exec file '{}' \;|grep \
":.*\(ASCII\|script\  
 # change all symlinks pointing to /opt/${DISTRO}/${SDK_VERSION}
 for l in $(find $NATIVE_INSTALL_DIR -type l); do
-    $SUDO ln -sf $(readlink $l|sed -e \
"s:$DEFAULT_INSTALL_FOLDER:$NATIVE_INSTALL_DIR:") $l +    $SUDO ln -sfn $(readlink \
$l|sed -e "s:$DEFAULT_INSTALL_FOLDER:$NATIVE_INSTALL_DIR:") $l  done
 
 echo_info "\nSuccessfully installed selected native ADT!"
-- 
1.7.9.5


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic