File tree 1 file changed +2
-1
lines changed
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
112
112
# ToDo: this URL needs to get into Arduino's package.json
113
113
114
114
# Download the file
115
- filename=$( basename " $IDF_LIBS_DL_URL " )
115
+ filename=" esp32-arduino-libs- $IDF_LIBS_COMMIT .zip "
116
116
curl -s -O " $IDF_LIBS_DL_URL "
117
117
118
118
# Check if the download was successful
@@ -136,6 +136,7 @@ if [ $LIBS_HAS_COMMIT == "0" ]; then
136
136
echo " Size: $size bytes"
137
137
echo " SHA-256: $sha256sum "
138
138
echo " JSON: $AR_OUT /package_esp32_index.template.json"
139
+ cd " $AR_ROOT "
139
140
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 "
140
141
if [ $? -ne 0 ]; then exit 1; fi
141
142
You can’t perform that action at this time.
0 commit comments