Explorar el Código

More fixes for CI

Alex Crichton hace 5 años
padre
commit
5d5a85e6ea
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      ci/run-docker.sh

+ 1 - 1
ci/run-docker.sh

@@ -19,7 +19,7 @@ run() {
            -e CARGO_HOME=/cargo \
            -e CARGO_TARGET_DIR=/target \
            -e RUST_COMPILER_RT_ROOT \
-           -v $HOME/.cargo:/cargo \
+           -v $(dirname $(dirname `which cargo`)):/cargo \
            -v `pwd`/target:/target \
            -v `pwd`:/checkout:ro \
            -v `rustc --print sysroot`:/rust:ro \