use $SOURCEHOST

This commit is contained in:
Trevor Batley 2023-06-03 15:17:31 +10:00
parent aab64d1ed7
commit a7eebc7ac7

View File

@ -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" | \