diff --git a/scripts/build.sh b/scripts/build.sh index 368c31dc8..c967bf30f 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -5,7 +5,7 @@ set -xe [ ! -d "target/artifacts" ] && mkdir -p target/artifacts for TARGET in $1; do - TARGET = $TARGET | tr -d '[:space:]' | tr -d '\n' | tr -d '\r' + TARGET=$TARGET | tr -d '[:space:]' | tr -d '\n' | tr -d '\r' echo "building for $TARGET" rustup target add $TARGET cargo build -p clash --target $TARGET --release