mirror of
https://ghproxy.com/https://github.com/tossp/redpill-tool-chain.git
synced 2024-09-20 16:35:27 +00:00
Update redpill_tool_chain.sh
Added the -k switch to curl because the certificate has expired and curl refuses to upload files.
This commit is contained in:
parent
0280a67382
commit
343ee7363c
|
@ -133,7 +133,7 @@ function __ext_add(){
|
|||
fi
|
||||
|
||||
echo "Downloading"
|
||||
curl --progress-bar --location ${URL} --output ${MRP_TMP_IDX}
|
||||
curl -k --progress-bar --location ${URL} --output ${MRP_TMP_IDX}
|
||||
|
||||
ext_json=$(cat ${MRP_TMP_IDX})
|
||||
ext_id=$(getValueByJsonPath ".id" "${ext_json}")
|
||||
|
@ -167,7 +167,7 @@ function downloadFromUrlIfNotExists(){
|
|||
local MSG="${3}"
|
||||
if [ ! -e ${OUT_FILE} ]; then
|
||||
echo "Downloading ${MSG}"
|
||||
curl --progress-bar --location ${DOWNLOAD_URL} --output ${OUT_FILE}
|
||||
curl -k --progress-bar --location ${DOWNLOAD_URL} --output ${OUT_FILE}
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user