use $SOURCEHOST
This commit is contained in:
parent
aab64d1ed7
commit
a7eebc7ac7
@ -150,7 +150,7 @@ fi
|
|||||||
|
|
||||||
if [ $DEBUG ] ; then echo "Forking $SORCEORG/$SOURCEPKG into $TARGETORG/$TARGETPKG!" ; fi
|
if [ $DEBUG ] ; then echo "Forking $SORCEORG/$SOURCEPKG into $TARGETORG/$TARGETPKG!" ; fi
|
||||||
RESPONSE=$(curl "$SILENT" "$checkSSL" -X 'POST' \
|
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 'accept: application/json' \
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
-H "Authorization: token $SOURCEACCESSTOKEN" \
|
-H "Authorization: token $SOURCEACCESSTOKEN" \
|
||||||
@ -166,7 +166,7 @@ fi
|
|||||||
|
|
||||||
# grab WIKILINK from source package
|
# grab WIKILINK from source package
|
||||||
WIKILINK=$(curl "$SILENT" -X 'GET' \
|
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 'accept: application/json' \
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
-H "Authorization: token $SOURCEACCESSTOKEN" | \
|
-H "Authorization: token $SOURCEACCESSTOKEN" | \
|
||||||
|
Loading…
Reference in New Issue
Block a user