fix(submit_scoreboard.sh): fix repo name
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
张佳澈520370910044 2024-06-10 14:02:41 +08:00
parent 629e0ecb29
commit 1d135c7cab

View File

@ -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