diff options
author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-10-30 15:14:05 +0900 |
---|---|---|
committer | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-10-30 15:14:05 +0900 |
commit | 8625029ab81d2f7fb124728a62d0440621ccb30d (patch) | |
tree | 5db467e81fea6efb49cdfae3bba1ed3e665d4f0c /ci | |
parent | 86411e4a4e9f43ddffa52e654e945a5dd1cc112b (diff) | |
download | rust-libc-8625029ab81d2f7fb124728a62d0440621ccb30d.tar.gz |
Fix shellcheck warnings
Diffstat (limited to 'ci')
-rw-r--r-- | ci/install-rust.sh | 6 | ||||
-rwxr-xr-x | ci/run-docker.sh | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ci/install-rust.sh b/ci/install-rust.sh index 598dec282d..dcd24b88ef 100644 --- a/ci/install-rust.sh +++ b/ci/install-rust.sh @@ -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 diff --git a/ci/run-docker.sh b/ci/run-docker.sh index 648eafcd94..f1fa6656c4 100755 --- a/ci/run-docker.sh +++ b/ci/run-docker.sh @@ -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 \ |