fix: skip joj if scoreboard unset
This commit is contained in:
parent
63f7d89c41
commit
963ccbe956
10
tt/teabag.sh
10
tt/teabag.sh
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user