Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6d0e8b1

Browse files
committedAug 27, 2024··
fix(install): Fetch before checkout to avoid errors
1 parent 807bddb commit 6d0e8b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tools/install-arduino.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ fi
4141

4242
if [ "$AR_BRANCH" ]; then
4343
echo "AR_BRANCH='$AR_BRANCH'"
44+
git -C "$AR_COMPS/arduino" fetch --all && \
4445
git -C "$AR_COMPS/arduino" checkout "$AR_BRANCH" && \
45-
git -C "$AR_COMPS/arduino" fetch && \
4646
git -C "$AR_COMPS/arduino" pull --ff-only
4747
fi
4848
if [ $? -ne 0 ]; then exit 1; fi

0 commit comments

Comments
 (0)
Please sign in to comment.