fix problematic echos

This commit is contained in:
Shelvacu
2025-07-07 01:20:23 -07:00
committed by Shelvacu on fw
parent 929e403f80
commit 35206eda41
9 changed files with 18 additions and 40 deletions

View File

@@ -46,7 +46,7 @@ writers.writeBashBin "update-git-keys" ''
# declare -p curl_common
echo GET "$url_keys"
resp="$("''${curl_common[@]}" "$url_keys")"
for url in $(echo "$resp" | jq .[].url -r); do
for url in $(printf '%s' "$resp" | jq .[].url -r); do
echo DELETE "$url"
"''${curl_common[@]}" "$url" -X DELETE
done