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