use single square bracket you fucking idiot

This commit is contained in:
n3t1zen
2026-05-04 13:01:52 +08:00
parent d6e2cba047
commit 38a38e217e
+1 -1
View File
@@ -8,7 +8,7 @@ REV_FILE="$ROOT/works/rev"
# defaults
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/")
fi
UPSTREAM_BRANCH="main"