aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--files/toolchain-json-shar-extract.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/toolchain-json-shar-extract.sh b/files/toolchain-json-shar-extract.sh
index 1e7a9868fcf..e667f3f966f 100644
--- a/files/toolchain-json-shar-extract.sh
+++ b/files/toolchain-json-shar-extract.sh
@@ -192,7 +192,7 @@ tail -n +$payload_offset $0| $SUDO_EXEC tar xJ -C $target_sdk_dir --checkpoint=.
echo "done"
for json in $target_sdk_dir/.crops/*.json; do
- sed -e "s/@SDK_INSTALL_DIR@/$target_sdk_dir/" $json
+ sed -e "s|@SDK_INSTALL_DIR@| $target_sdk_dir|" $json > $json.tmp && mv $json.tmp $json
done
@SDK_POST_INSTALL_COMMAND@