use single square bracket you fucking idiot
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ REV_FILE="$ROOT/works/rev"
|
|||||||
|
|
||||||
# defaults
|
# defaults
|
||||||
REPO_URL="git@git.inker.bot:arknights/sing-box.git"
|
REPO_URL="git@git.inker.bot:arknights/sing-box.git"
|
||||||
if [[ $CI_JOB_TOKEN != "" ]]; then
|
if [ ! -z $CI_JOB_TOKEN ]; then
|
||||||
REPO_URL=$(echo $REPO_URL | sed -i "s/git/gitlab-ci-token:$CI_JOB_TOKEN/")
|
REPO_URL=$(echo $REPO_URL | sed -i "s/git/gitlab-ci-token:$CI_JOB_TOKEN/")
|
||||||
fi
|
fi
|
||||||
UPSTREAM_BRANCH="main"
|
UPSTREAM_BRANCH="main"
|
||||||
|
|||||||
Reference in New Issue
Block a user