diff options
Diffstat (limited to 'meta/files')
-rw-r--r-- | meta/files/toolchain-shar-relocate.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/files/toolchain-shar-relocate.sh b/meta/files/toolchain-shar-relocate.sh index 8ea6194eca..3ece04db0a 100644 --- a/meta/files/toolchain-shar-relocate.sh +++ b/meta/files/toolchain-shar-relocate.sh | |||
@@ -72,7 +72,7 @@ fi | |||
72 | 72 | ||
73 | # change all symlinks pointing to @SDKPATH@ | 73 | # change all symlinks pointing to @SDKPATH@ |
74 | for l in $($SUDO_EXEC find $native_sysroot -type l); do | 74 | for l in $($SUDO_EXEC find $native_sysroot -type l); do |
75 | $SUDO_EXEC ln -sfn $(readlink $l|$SUDO_EXEC sed -e "s:$DEFAULT_INSTALL_DIR:$target_sdk_dir:") $l | 75 | $SUDO_EXEC ln -sfn $(readlink $l|$SUDO_EXEC sed -e "s:$SDK_BUILD_PATH:$target_sdk_dir:") $l |
76 | if [ $? -ne 0 ]; then | 76 | if [ $? -ne 0 ]; then |
77 | echo "Failed to setup symlinks. Relocate script failed. Abort!" | 77 | echo "Failed to setup symlinks. Relocate script failed. Abort!" |
78 | exit 1 | 78 | exit 1 |