Skip to content

Commit c3325dc

Browse files
committed
Fix run-docker.sh so it can be run locally
1 parent ea0cb5b commit c3325dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/run-docker.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ run() {
1919
-e CARGO_HOME=/cargo \
2020
-e CARGO_TARGET_DIR=/target \
2121
-e RUST_COMPILER_RT_ROOT \
22-
-v $(dirname $(dirname `which cargo`)):/cargo \
22+
-v "${HOME}/.cargo":/cargo \
2323
-v `pwd`/target:/target \
2424
-v `pwd`:/checkout:ro \
2525
-v `rustc --print sysroot`:/rust:ro \

0 commit comments

Comments
 (0)