fix: skip joj if scoreboard unset

This commit is contained in:
manuel 2025-12-19 17:45:25 +08:00
parent 63f7d89c41
commit 963ccbe956

View File

@ -243,10 +243,12 @@ report() {
read -p "Press Enter to continue" read -p "Press Enter to continue"
fi fi
# update grading # update grading
cd ${REPOS[0]%/*}-joj if [ -n "$SCOREBOARD" ]; then
git pull cd ${REPOS[0]%/*}-joj
cd .. git pull
cd ..
fi
let nb=1 let nb=1
for t in ${REPOS[@]}; do for t in ${REPOS[@]}; do