From 963ccbe9569a760c07021a79ab8897d01618410e Mon Sep 17 00:00:00 2001 From: manuel Date: Fri, 19 Dec 2025 17:45:25 +0800 Subject: [PATCH] fix: skip joj if scoreboard unset --- tt/teabag.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tt/teabag.sh b/tt/teabag.sh index 98e57cc..ab6b3aa 100755 --- a/tt/teabag.sh +++ b/tt/teabag.sh @@ -243,10 +243,12 @@ report() { read -p "Press Enter to continue" fi -# update grading - cd ${REPOS[0]%/*}-joj - git pull - cd .. + # update grading + if [ -n "$SCOREBOARD" ]; then + cd ${REPOS[0]%/*}-joj + git pull + cd .. + fi let nb=1 for t in ${REPOS[@]}; do