1

Fix REPOS_API_URL variable usage

This commit is contained in:
Jessie Hildebrandt 2024-04-16 19:32:54 -04:00
parent 7a0370b6be
commit a203954ed8

View File

@ -569,8 +569,7 @@ git config --global user.name "Jessie Hildebrandt"
git config --global user.email "jessieh@jessieh.net" git config --global user.email "jessieh@jessieh.net"
# Perform a blobless clone of all public repos at git.tty.dog # Perform a blobless clone of all public repos at git.tty.dog
API_URL="https://git.tty.dog/api/v1/repos/search" for CLONE_URL in $(curl -s "${REPOS_API_URL}?uid=1" | jq -r ".data.[].ssh_url"); do
for CLONE_URL in $(curl -s "${API_URL}?uid=1" | jq -r ".data.[].ssh_url"); do
git -C ${PROJECTS_DIR} clone --no-checkout --filter=blob:none "${CLONE_URL}" git -C ${PROJECTS_DIR} clone --no-checkout --filter=blob:none "${CLONE_URL}"
done done