Skip to content

Commit 1c50ef5

Browse files
authored
Update install-esp-idf.sh
1 parent 6748da9 commit 1c50ef5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/install-esp-idf.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ if [ "$IDF_TAG" ]; then
5252
git -C "$IDF_PATH" checkout "tags/$IDF_TAG"
5353
idf_was_installed="1"
5454
elif [ "$IDF_COMMIT" ]; then
55-
git remote add cherrypick https://github.com/$IDF_REPO.git
56-
git fetch cherrypick release/v5.3
5755
echo "Checkout commit $IDF_COMMIT from branch $IDF_BRANCH"
5856
git -C "$IDF_PATH" checkout "$IDF_COMMIT"
5957
git switch -c work
60-
git submodule update --recursive
58+
git submodule update --recursive
59+
git remote add cherrypick https://github.com/$IDF_REPO.git
60+
git fetch cherrypick release/v5.3
6161
git cherry-pick d3354f2c65368f716dee48ed8bccf33372bf1c5e
6262
commit_predefined="1"
6363
fi

0 commit comments

Comments
 (0)