diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2013-04-30 18:02:10 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-02 17:40:51 +0100 |
commit | 9e9331a4b859c4205c2a0406ab0224ac575e351b (patch) | |
tree | 6da9106d4b3f628964ac6a18f0e861d8bb69802c /meta/recipes-devtools/installer | |
parent | 6b78673934e1f444991b2743957b362443c6a7cd (diff) | |
download | openembedded-core-9e9331a4b859c4205c2a0406ab0224ac575e351b.tar.gz openembedded-core-9e9331a4b859c4205c2a0406ab0224ac575e351b.tar.bz2 openembedded-core-9e9331a4b859c4205c2a0406ab0224ac575e351b.zip |
adt-installer: do not dereference symlinks when relocating
This was already fixed for meta-toolchain.
[YOCTO #4157]
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/installer')
-rwxr-xr-x | meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal | 2 |
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!" |