Skip to content

Commit 07aef90

Browse files
committed
fix shellcheck error of SC2068
1 parent 21a097f commit 07aef90

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

scripts/cargo.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ cmd=$1
1010
shift || true
1111

1212
if [[ "$cmd" = "jit" ]]; then
13-
cargo +${TOOLCHAIN} rustc $@ -- --jit
13+
cargo +${TOOLCHAIN} rustc "$@" -- --jit
1414
else
15-
cargo +${TOOLCHAIN} $cmd $@
15+
cargo +${TOOLCHAIN} $cmd "$@"
1616
fi

test.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ set -e
33

44
export RUSTFLAGS="-Zrun_dsymutil=no"
55

6-
./build.sh --without-sysroot $@
6+
./build.sh --without-sysroot "$@"
77

88
rm -r target/out || true
99

1010
scripts/tests.sh no_sysroot
1111

12-
./build.sh $@
12+
./build.sh "$@"
1313

1414
scripts/tests.sh base_sysroot
1515
scripts/tests.sh extended_sysroot

0 commit comments

Comments
 (0)