aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/installer
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2013-04-30 18:02:10 +0300
committerPaul Eggleton <paul.eggleton@linux.intel.com>2013-05-20 16:06:13 +0100
commit52f3007a57edf4ca8c244271d08d812b62897401 (patch)
treea900779169ba3190994e95a9910508671e6aaa3c /meta/recipes-devtools/installer
parent0db4db02486926ef5d0b1cee92f963cf0f1e64fc (diff)
downloadopenembedded-core-52f3007a57edf4ca8c244271d08d812b62897401.tar.gz
adt-installer: do not dereference symlinks when relocating
This was already fixed for meta-toolchain. [YOCTO #4157] (From OE-Core master rev: 9e9331a4b859c4205c2a0406ab0224ac575e351b) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/installer')
-rwxr-xr-xmeta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal2
1 files changed, 1 insertions, 1 deletions
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 b80a7ed11d..4322964b21 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!"