diff options
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/files/toolchain-shar-extract.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/files/toolchain-shar-extract.sh b/meta/files/toolchain-shar-extract.sh index 4386b985bb..ec5e4aa922 100644 --- a/meta/files/toolchain-shar-extract.sh +++ b/meta/files/toolchain-shar-extract.sh | |||
| @@ -284,6 +284,10 @@ post_relocate="$target_sdk_dir/post-relocate-setup.sh" | |||
| 284 | if [ -e "$post_relocate" ]; then | 284 | if [ -e "$post_relocate" ]; then |
| 285 | $SUDO_EXEC sed -e "s:@SDKPATH@:$target_sdk_dir:g" -i $post_relocate | 285 | $SUDO_EXEC sed -e "s:@SDKPATH@:$target_sdk_dir:g" -i $post_relocate |
| 286 | $SUDO_EXEC /bin/sh $post_relocate "$target_sdk_dir" "@SDKPATH@" | 286 | $SUDO_EXEC /bin/sh $post_relocate "$target_sdk_dir" "@SDKPATH@" |
| 287 | if [ $? -ne 0 ]; then | ||
| 288 | echo "Executing $post_relocate failed" | ||
| 289 | exit 1 | ||
| 290 | fi | ||
| 287 | $SUDO_EXEC rm -f $post_relocate | 291 | $SUDO_EXEC rm -f $post_relocate |
| 288 | fi | 292 | fi |
| 289 | 293 | ||
