summaryrefslogtreecommitdiff
path: root/ci/run-docker.sh
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-10-30 15:14:05 +0900
committerYuki Okushi <huyuumi.dev@gmail.com>2020-10-30 15:14:05 +0900
commit8625029ab81d2f7fb124728a62d0440621ccb30d (patch)
tree5db467e81fea6efb49cdfae3bba1ed3e665d4f0c /ci/run-docker.sh
parent86411e4a4e9f43ddffa52e654e945a5dd1cc112b (diff)
downloadrust-libc-8625029ab81d2f7fb124728a62d0440621ccb30d.tar.gz
Fix shellcheck warnings
Diffstat (limited to 'ci/run-docker.sh')
-rwxr-xr-xci/run-docker.sh2
1 files changed, 1 insertions, 1 deletions
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 \