Fix shellcheck warnings
This commit is contained in:
parent
86411e4a4e
commit
8625029ab8
|
@ -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
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue