File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ if [ $LIBS_HAS_COMMIT == "0" ]; then
112112 # ToDo: this URL needs to get into Arduino's package.json
113113
114114 # Download the file
115- filename=$( basename " $IDF_LIBS_DL_URL " )
115+ filename=" esp32-arduino-libs- $IDF_LIBS_COMMIT .zip "
116116 curl -s -O " $IDF_LIBS_DL_URL "
117117
118118 # Check if the download was successful
@@ -136,6 +136,7 @@ if [ $LIBS_HAS_COMMIT == "0" ]; then
136136 echo " Size: $size bytes"
137137 echo " SHA-256: $sha256sum "
138138 echo " JSON: $AR_OUT /package_esp32_index.template.json"
139+ cd " $AR_ROOT "
139140 python3 tools/add_sdk_json.py -j " $AR_OUT /package_esp32_index.template.json" -n " esp32-arduino-libs" -v " $LIBS_VERSION " -u " $IDF_LIBS_DL_URL " -f " $filename " -s " $size " -c " $sha256sum "
140141 if [ $? -ne 0 ]; then exit 1; fi
141142
You can’t perform that action at this time.
0 commit comments