| Message ID | 7050f445081801555614b264e1932e55538a7127.1732310669.git.steve@sakoman.com |
|---|---|
| State | Accepted, archived |
| Commit | 7050f445081801555614b264e1932e55538a7127 |
| Delegated to: | Steve Sakoman |
| Headers | show |
| Series | [kirkstone,01/19] ghostscript: Backport fix for multiple CVE's | expand |
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" if [ -e "$post_relocate" ]; then $SUDO_EXEC sed -e "s:@SDKPATH@:$target_sdk_dir:g" -i $post_relocate $SUDO_EXEC /bin/sh $post_relocate "$target_sdk_dir" "@SDKPATH@" + if [ $? -ne 0 ]; then + echo "Executing $post_relocate failed" + exit 1 + fi $SUDO_EXEC rm -f $post_relocate fi