Skip to content

Commit 72b14ed

Browse files
committed
Refactor build_and_check.sh to install esp-idf after cloning
1 parent 4de8c02 commit 72b14ed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/build_and_check.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ popd >/dev/null
3232
# Fetch esp-idf if not already present
3333
if [ ! -d esp-idf ]; then
3434
git clone --branch "$IDF_VERSION" --depth 1 --recursive https://github.com/espressif/esp-idf.git
35-
pushd esp-idf >/dev/null
36-
./install.sh
37-
popd >/dev/null
3835
fi
36+
pushd esp-idf >/dev/null
37+
./install.sh
38+
popd >/dev/null
3939

4040
# Source esp-idf environment
4141
source ./esp-idf/export.sh

0 commit comments

Comments
 (0)