Skip to content

Commit 792b05a

Browse files
committed
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

Diff for: .github/scripts/on-push-idf.sh

+2-2
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)