From a203954ed8a12200641f9937af02908649e7dadf Mon Sep 17 00:00:00 2001 From: Jessie Hildebrandt Date: Tue, 16 Apr 2024 19:32:54 -0400 Subject: [PATCH] Fix REPOS_API_URL variable usage --- opensuse-setup.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/opensuse-setup.sh b/opensuse-setup.sh index 2f55b88..6fbe1ff 100755 --- a/opensuse-setup.sh +++ b/opensuse-setup.sh @@ -569,8 +569,7 @@ git config --global user.name "Jessie Hildebrandt" git config --global user.email "jessieh@jessieh.net" # 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 "${API_URL}?uid=1" | jq -r ".data.[].ssh_url"); do +for CLONE_URL in $(curl -s "${REPOS_API_URL}?uid=1" | jq -r ".data.[].ssh_url"); do git -C ${PROJECTS_DIR} clone --no-checkout --filter=blob:none "${CLONE_URL}" done