Auto-define the OS_ARCH variable. (#2329)

This commit is contained in:
Mariusz Kogen
2023-06-30 23:34:10 +03:00
committed by GitHub
parent 13f3137701
commit bada88157e

View File

@@ -8,4 +8,8 @@ if [ "$0" != "./install-sdk.sh" ]; then
exit 1
fi
if [ -z "$OS_ARCH" ]; then
OS_ARCH=$(uname -m)
fi
cargo install --bin=embassy-sdk --bin=embassy-cli --path=. --no-default-features --features=js_engine --locked