Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 792b05a

Browse files
fix(idf): Fix subdirectories
1 parent 6330eca commit 792b05a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎.github/scripts/on-push-idf.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ CHECK_REQUIREMENTS="./components/arduino-esp32/.github/scripts/sketch_utils.sh c
77
# Export IDF environment
88
. ${IDF_PATH}/export.sh
99

10-
# Find all sub-folders in ./components/arduino-esp32/idf_component_examples and save them in a variable
11-
idf_component_examples=$(find ./components/arduino-esp32/idf_component_examples -type d)
10+
# Find all examples in ./components/arduino-esp32/idf_component_examples
11+
idf_component_examples=$(find ./components/arduino-esp32/idf_component_examples -mindepth 1 -maxdepth 1 -type d)
1212

1313
for example in $idf_component_examples; do
1414
idf.py -C "$example" set-target "$IDF_TARGET"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /