Skip to content

Commit

Permalink
Update redpill_tool_chain.sh
Browse files Browse the repository at this point in the history
Added the -k switch to curl because the certificate has expired and curl refuses to upload files.
  • Loading branch information
SpectreKr authored Nov 6, 2021
1 parent 0280a67 commit 343ee73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions redpill_tool_chain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit 343ee73

Please sign in to comment.