diff --git a/tools/scripts/new_sequence.sh b/tools/scripts/new_sequence.sh index d2f05d7..bf2a222 100644 --- a/tools/scripts/new_sequence.sh +++ b/tools/scripts/new_sequence.sh @@ -43,7 +43,7 @@ exec 3>&1 cd $tribe existing_seq=$(ls -d */) nbr_seq=$(echo $existing_seq | wc -w) -next_seq_number=$(expr $nbr_seq + 1) +next_seq_number=$(expr $nbr_seq) title=$(dialog \ --inputbox "Séquences trouvée\n${existing_seq/ /\n} \nNom de la nouvelle sequence (n°$next_seq_number)" \