mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
fix shellcheck error of SC2068
This commit is contained in:
parent
21a097f17e
commit
07aef90593
@ -10,7 +10,7 @@ cmd=$1
|
|||||||
shift || true
|
shift || true
|
||||||
|
|
||||||
if [[ "$cmd" = "jit" ]]; then
|
if [[ "$cmd" = "jit" ]]; then
|
||||||
cargo +${TOOLCHAIN} rustc $@ -- --jit
|
cargo +${TOOLCHAIN} rustc "$@" -- --jit
|
||||||
else
|
else
|
||||||
cargo +${TOOLCHAIN} $cmd $@
|
cargo +${TOOLCHAIN} $cmd "$@"
|
||||||
fi
|
fi
|
||||||
|
4
test.sh
4
test.sh
@ -3,13 +3,13 @@ set -e
|
|||||||
|
|
||||||
export RUSTFLAGS="-Zrun_dsymutil=no"
|
export RUSTFLAGS="-Zrun_dsymutil=no"
|
||||||
|
|
||||||
./build.sh --without-sysroot $@
|
./build.sh --without-sysroot "$@"
|
||||||
|
|
||||||
rm -r target/out || true
|
rm -r target/out || true
|
||||||
|
|
||||||
scripts/tests.sh no_sysroot
|
scripts/tests.sh no_sysroot
|
||||||
|
|
||||||
./build.sh $@
|
./build.sh "$@"
|
||||||
|
|
||||||
scripts/tests.sh base_sysroot
|
scripts/tests.sh base_sysroot
|
||||||
scripts/tests.sh extended_sysroot
|
scripts/tests.sh extended_sysroot
|
||||||
|
Loading…
Reference in New Issue
Block a user