Skip to content

Commit 9dc3902

Browse files
committed
Try to fix include extraction
1 parent cd2babf commit 9dc3902

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/prepare-libs.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ for item in "${@:2:${#@}-5}"; do
6565
item=`get_actual_path $item`
6666
INCLUDES+="$item "
6767
elif [ "${item:0:2}" = ".." ]; then
68-
if [[ "${item:0:14}" = "../components/" && "${item:0:22}" != "../components/arduino/" ]]; then
68+
if [[ "${item:0:14}" = "../components/" && "${item:0:22}" != "../components/arduino/" ]] || [[ "${item:0:11}" = "../esp-idf/" ]]; then
6969
item="$PWD${item:2}"
7070
item=`get_actual_path $item`
7171
INCLUDES+="$item "

0 commit comments

Comments
 (0)