Fix shellcheck warnings

This commit is contained in:
Yuki Okushi 2020-10-30 15:14:05 +09:00
parent 86411e4a4e
commit 8625029ab8
2 changed files with 4 additions and 4 deletions

View File

@ -47,13 +47,13 @@ if [ "$OS" = "windows" ]; then
fi
echo "Query rust and cargo versions"
command -v rustc
command -v cargo
command -v rustup
rustc -Vv
cargo -V
rustup -Vv
rustup show
which rustc
which cargo
which rustup
echo "Generate lockfile"
N=5

View File

@ -62,7 +62,7 @@ build_switch() {
kvm=""
fi
cp "$(which rustup)" "$(rustc --print sysroot)/bin"
cp "$(command -v rustup)" "$(rustc --print sysroot)/bin"
docker run \
--rm \