From de31b20e726b148cead5c67c6bd57a591163ce0c Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Sun, 23 Jul 2023 19:20:25 +1000 Subject: [PATCH] typo --- git-get-repo-and-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-get-repo-and-build.sh b/git-get-repo-and-build.sh index 32a7114..9fd68b0 100755 --- a/git-get-repo-and-build.sh +++ b/git-get-repo-and-build.sh @@ -110,7 +110,7 @@ fi # See if repo exits in git if [ $DEBUG ] ; then echo "check if $REPO_NAME in $ORG_NAME exists on $GITEAHOST" ; fi BRANCHES= -if [ $BRANCH ] ; then $BRANCHES="/branches/${BRANCH#*=}" ; file +if [ $BRANCH ] ; then $BRANCHES="/branches/${BRANCH#*=}" ; fi RESPONSE=$(curl $SILENT -o /dev/null -w "%{http_code}" "$GITEAHOST/api/v1/repos/$ORG_NAME/$REPO_NAME$BRANCHES") if [ "$RESPONSE" == "200" ]; then if [ $DEBUG ] ; then echo "Repository for $ORG_NAME/$REPO_NAME exists!" ; fi