Skip to content

Commit afa5c65

Browse files
snoggetgross35
authored andcommitted
ci: Use $PWD instead of $(pwd) in run-docker
Less commands makes for a cleaner `set -x` log. And it is more efficient.
1 parent 67442f4 commit afa5c65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/run-docker.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ run() {
4747
--env CARGO_TARGET_DIR=/checkout/target \
4848
--volume "$CARGO_HOME":/cargo \
4949
--volume "$(rustc --print sysroot)":/rust:ro \
50-
--volume "$(pwd)":/checkout:ro \
51-
--volume "$(pwd)"/target:/checkout/target \
50+
--volume "$PWD":/checkout:ro \
51+
--volume "$PWD"/target:/checkout/target \
5252
$kvm \
5353
--init \
5454
--workdir /checkout \

0 commit comments

Comments
 (0)