Skip to content

Commit 7c30ba1

Browse files
committed
fix auto-toolchain pwd
1 parent 3800933 commit 7c30ba1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

miri

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ if [ -z "$AUTO_OPS" ]; then
5959
# Run this first, so that the toolchain doesn't change after
6060
# other code has run.
6161
if [ -f "$MIRIDIR/.auto-everything" ] || [ -f "$MIRIDIR/.auto-toolchain" ] ; then
62-
"$MIRIDIR"/rustup-toolchain
62+
(cd "$MIRIDIR" && ./rustup-toolchain)
6363
fi
6464

6565
if [ -f "$MIRIDIR/.auto-everything" ] || [ -f "$MIRIDIR/.auto-fmt" ] ; then

0 commit comments

Comments
 (0)