Minor fix number of imported team

This commit is contained in:
nemunaire 2016-01-22 17:18:46 +01:00
parent 4f97d2088d
commit db2e286677

View File

@ -19,7 +19,7 @@ new_team() {
}
TNUM=0
TMAX=`cat "$PART_FILE" | wc -l`
TMAX=`sed "1d" "$PART_FILE" | cut -d \; -f 15 | sort | uniq | wc -l`
sed "1d" "$PART_FILE" | cut -d \; -f 15 | sort | uniq | while read TEAMID
do
TNUM=$(($TNUM + 1))