SDK install script fix (#2411)

This commit is contained in:
Mariusz Kogen
2023-09-08 07:40:04 +02:00
committed by GitHub
parent e3786592b2
commit 394bc9ceb8

View File

@@ -8,6 +8,9 @@ if [ "$0" != "./install-sdk.sh" ]; then
exit 1
fi
frontend="../frontend/dist/static"
[ -d "$frontend" ] || mkdir -p "$frontend"
if [ -z "$OS_ARCH" ]; then
export OS_ARCH=$(uname -m)
fi
@@ -15,4 +18,4 @@ fi
cargo install --path=. --no-default-features --features=js_engine,sdk,cli --locked
startbox_loc=$(which startbox)
ln -sf $startbox_loc $(dirname $startbox_loc)/start-cli
ln -sf $startbox_loc $(dirname $startbox_loc)/start-sdk
ln -sf $startbox_loc $(dirname $startbox_loc)/start-sdk