File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -53,13 +53,13 @@ if [ $LIBS_HAS_ASSET == "0" ] && [ $AR_HAS_COMMIT == "0" ]; then
53
53
54
54
# Download the file
55
55
remote_file=" remote-$LIBS_ZIP_FILENAME "
56
- curl -s -o " $remote_file " " $IDF_LIBS_DL_URL "
56
+ curl -s -L - o " $remote_file " " $IDF_LIBS_DL_URL "
57
57
58
58
# Check if the download was successful
59
59
if [ $? -ne 0 ]; then
60
60
echo " Error downloading file from $IDF_LIBS_DL_URL . Retrying..."
61
61
rm -f " $remote_file "
62
- curl -s -o " $remote_file " " $IDF_LIBS_DL_URL "
62
+ curl -s -L - o " $remote_file " " $IDF_LIBS_DL_URL "
63
63
if [ $? -ne 0 ]; then
64
64
echo " Error downloading file from $IDF_LIBS_DL_URL "
65
65
exit 1
@@ -78,7 +78,7 @@ if [ $LIBS_HAS_ASSET == "0" ] && [ $AR_HAS_COMMIT == "0" ]; then
78
78
echo " Checksum mismatch for downloaded file. Retrying..."
79
79
rm " $remote_file "
80
80
81
- curl -s -o " $remote_file " " $IDF_LIBS_DL_URL "
81
+ curl -s -L - o " $remote_file " " $IDF_LIBS_DL_URL "
82
82
if [ $? -ne 0 ]; then
83
83
echo " Error downloading file from $IDF_LIBS_DL_URL "
84
84
exit 1
You can’t perform that action at this time.
0 commit comments