File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- curl -o master.zip https://github.com/ArkScript-lang/std/archive/refs/heads/master.zip
2- unzip -oq master.zip " std-master/*.ark" -x " std-master/tests/*"
1+ curl https://github.com/ArkScript-lang/std/archive/refs/heads/master.zip -O -J -L
2+ unzip -oq std- master.zip " std-master/*.ark" -x " std-master/tests/*"
33
4- rm master.zip
4+ rm std- master.zip
55rm -rf .arkscript/lib/std/
66mv std-master/ .arkscript/lib/std/
77
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ if [[ $(echo -ne "$API_OUTPUT" | grep "status.*404") != "" ]]; then
3131fi
3232
3333ASSET_PATH=$( echo -ne " $API_OUTPUT " | grep " browser_download_url.*${ASSET} .zip" | cut -d : -f 2,3 | tr -d \" | tr -d " " )
34- curl -o " ${ASSET} .zip " " $ ASSET_PATH"
34+ curl " $ ASSET_PATH" -O -J -L
3535
3636mkdir -p .arkscript
3737unzip -oq " ${ASSET} .zip" -d .arkscript
You can’t perform that action at this time.
0 commit comments