From a7eebc7ac7019be7fcfa41d2775dcf9f2bcb2830 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Sat, 3 Jun 2023 15:17:31 +1000 Subject: [PATCH] use $SOURCEHOST --- rename-e-smith-pkg.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rename-e-smith-pkg.sh b/rename-e-smith-pkg.sh index cac447b..663d48a 100755 --- a/rename-e-smith-pkg.sh +++ b/rename-e-smith-pkg.sh @@ -150,7 +150,7 @@ fi if [ $DEBUG ] ; then echo "Forking $SORCEORG/$SOURCEPKG into $TARGETORG/$TARGETPKG!" ; fi RESPONSE=$(curl "$SILENT" "$checkSSL" -X 'POST' \ - "https://src.koozali.org/api/v1/repos/$SOURCEORG/$SOURCEPKG/forks" \ + "$SOURCEHOST/api/v1/repos/$SOURCEORG/$SOURCEPKG/forks" \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -H "Authorization: token $SOURCEACCESSTOKEN" \ @@ -166,7 +166,7 @@ fi # grab WIKILINK from source package WIKILINK=$(curl "$SILENT" -X 'GET' \ - "https://src.koozali.org/api/v1/repos/$SOURCEORG/$SOURCEPKG" \ + "$SOURCEHOST/api/v1/repos/$SOURCEORG/$SOURCEPKG" \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -H "Authorization: token $SOURCEACCESSTOKEN" | \