Skip to content

Commit b007cd8

Browse files
authored
back to orig
github git has a problem to checkout a commit when submodules exits. BUG!!
1 parent d353e58 commit b007cd8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tools/install-esp-idf.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ if [ -z "$IDF_PATH" ]; then
1616
echo "ESP-IDF is not installed! Installing local copy"
1717
idf_was_installed="1"
1818
if ! [ -d esp-idf ]; then
19-
echo "git clone --recursive $IDF_REPO_URL -b $IDF_BRANCH"
20-
git clone --recursive $IDF_REPO_URL -b $IDF_BRANCH
21-
echo "git checkout e8af343d93b8fe409f6b793e955c608d4f75607b"
22-
git checkout e8af343d93b8fe409f6b793e955c608d4f75607b
19+
echo "git clone $IDF_REPO_URL -b $IDF_BRANCH"
20+
git clone $IDF_REPO_URL -b $IDF_BRANCH
2321
fi
2422
export IDF_PATH="$AR_ROOT/esp-idf"
2523
fi

0 commit comments

Comments
 (0)