From 1d135c7cab0fe6f7e84365a6b6fb843dc3e23d49 Mon Sep 17 00:00:00 2001 From: zjc_he Date: Mon, 10 Jun 2024 14:02:41 +0800 Subject: [PATCH] fix(submit_scoreboard.sh): fix repo name --- scripts/submit_scoreboard.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/submit_scoreboard.sh b/scripts/submit_scoreboard.sh index eb4a54a..34f76e1 100644 --- a/scripts/submit_scoreboard.sh +++ b/scripts/submit_scoreboard.sh @@ -3,9 +3,9 @@ export ORIG_HOME=$(grep ^${USER}: /etc/passwd |cut -d : -f 6) PATH=$PATH:$ORIG_HOME/.local/bin if echo "${DRONE_REPO_NAME}" | grep -q '-'; then - SUBMITTER_NAME=$(echo "{DRONE_REPO_NAME}" | cut -d'-' -f1); + SUBMITTER_NAME=$(echo "${DRONE_REPO_NAME}" | cut -d'-' -f1); else - SUBMITTER_NAME={DRONE_REPO_NAME}; + SUBMITTER_NAME=${DRONE_REPO_NAME}; fi mkdir repos