From 72ebd297811c195001a76fa9e5cbd54906956103 Mon Sep 17 00:00:00 2001 From: dev0 Date: Mon, 6 Nov 2023 14:50:46 +1100 Subject: [PATCH] f wq --- scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index c967bf30f..197477aa3 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=$(echo -n $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