[GHA-Build] Correct osx vs linux incompatibility

This commit is contained in:
aboyko
2023-07-31 20:11:18 -04:00
parent 004da9a70d
commit 17ce125760

View File

@@ -37,7 +37,7 @@ do
json="${json}\"http://dist.springsource.com${path}\",${NL}\"https://dist.springsource.com${path}\",${NL}\"http://download.springsource.com${path}\",${NL}\"https://download.springsource.com${path}\",${NL}"
fi
if [[ "$counter" -eq "$FILES_BATCH" ]]; then
json="${json:0:-2}${NL}]}"
json="${json%,*}${NL}]}"
echo $json
curl -X DELETE "https://api.cloudflare.com/client/v4/zones/${CLOUDFLARE_ZONE_ID}/purge_cache" \
@@ -51,7 +51,7 @@ do
fi
done
if ! [[ "$counter" -eq 0 ]]; then
json="${json:0:-2}${NL}]}"
json="${json%,*}${NL}]}"
echo $json
curl -X DELETE "https://api.cloudflare.com/client/v4/zones/${CLOUDFLARE_ZONE_ID}/purge_cache" \