Skip to content
Snippets Groups Projects
Commit 8625029a authored by Yuki Okushi's avatar Yuki Okushi
Browse files

Fix shellcheck warnings

parent 86411e4a
No related branches found
No related tags found
No related merge requests found
......@@ -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 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment