Fix: Start counting at 0
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
40b24157fd
commit
3de71541fb
@ -43,7 +43,7 @@ exec 3>&1
|
|||||||
cd $tribe
|
cd $tribe
|
||||||
existing_seq=$(ls -d */)
|
existing_seq=$(ls -d */)
|
||||||
nbr_seq=$(echo $existing_seq | wc -w)
|
nbr_seq=$(echo $existing_seq | wc -w)
|
||||||
next_seq_number=$(expr $nbr_seq + 1)
|
next_seq_number=$(expr $nbr_seq)
|
||||||
|
|
||||||
title=$(dialog \
|
title=$(dialog \
|
||||||
--inputbox "Séquences trouvée\n${existing_seq/ /\n} \nNom de la nouvelle sequence (n°$next_seq_number)" \
|
--inputbox "Séquences trouvée\n${existing_seq/ /\n} \nNom de la nouvelle sequence (n°$next_seq_number)" \
|
||||||
|
Loading…
Reference in New Issue
Block a user