@@ -6,7 +6,7 @@ PLATFORMIO_ESP32_URL="https://github.com/platformio/platform-espressif32.git"
6
6
TOOLCHAIN_VERSION=" 12.2.0+20230208"
7
7
ESPTOOLPY_VERSION=" ~1.40501.0"
8
8
ESPRESSIF_ORGANIZATION_NAME=" espressif"
9
- LIBS_DIR=" tools/esp32-arduino-libs"
9
+ LIBS_DIR=" $PLATFORMIO_ESP32_PATH / tools/esp32-arduino-libs"
10
10
11
11
echo " Installing Python Wheel ..."
12
12
pip install wheel > /dev/null 2>&1
@@ -100,7 +100,7 @@ function count_sketches(){ # count_sketches <examples-path>
100
100
requirements=$( jq -r ' .requires[]? // empty' $sketchdir /ci.json)
101
101
if [[ " $requirements " != " null" ]] || [[ " $requirements " != " " ]]; then
102
102
for requirement in $requirements ; do
103
- found_line=$( grep -E " ^$requirement " $LIBS_DIR /esp32/sdkconfig)
103
+ found_line=$( grep -E " ^$requirement " " $LIBS_DIR /esp32/sdkconfig" )
104
104
if [[ " $found_line " == " " ]]; then
105
105
continue 2
106
106
fi
@@ -190,7 +190,7 @@ function build_pio_sketches(){ # build_pio_sketches <board> <options> <examples-
190
190
requirements=$( jq -r ' .requires[]? // empty' $sketchdir /ci.json)
191
191
if [[ " $requirements " != " null" ]] || [[ " $requirements " != " " ]]; then
192
192
for requirement in $requirements ; do
193
- found_line=$( grep -E " ^$requirement " $LIBS_DIR /esp32/sdkconfig)
193
+ found_line=$( grep -E " ^$requirement " " $LIBS_DIR /esp32/sdkconfig" )
194
194
if [[ " $found_line " == " " ]]; then
195
195
continue 2
196
196
fi
0 commit comments