mirror of
https://ghproxy.com/https://github.com/tossp/redpill-tool-chain.git
synced 2024-09-20 08:07:43 +00:00
Merge pull request #22 from SpectreKr/patch-1
Update redpill_tool_chain.sh
This commit is contained in:
commit
9a740a24b6
|
@ -133,7 +133,7 @@ function __ext_add(){
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Downloading"
|
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_json=$(cat ${MRP_TMP_IDX})
|
||||||
ext_id=$(getValueByJsonPath ".id" "${ext_json}")
|
ext_id=$(getValueByJsonPath ".id" "${ext_json}")
|
||||||
|
@ -167,7 +167,7 @@ function downloadFromUrlIfNotExists(){
|
||||||
local MSG="${3}"
|
local MSG="${3}"
|
||||||
if [ ! -e ${OUT_FILE} ]; then
|
if [ ! -e ${OUT_FILE} ]; then
|
||||||
echo "Downloading ${MSG}"
|
echo "Downloading ${MSG}"
|
||||||
curl --progress-bar --location ${DOWNLOAD_URL} --output ${OUT_FILE}
|
curl -k --progress-bar --location ${DOWNLOAD_URL} --output ${OUT_FILE}
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user