Core: enlève les accents dans la création de séquences
This commit is contained in:
parent
bb1bb88515
commit
88a76b2107
@ -33,7 +33,7 @@ case $selection in
|
||||
tribe="SNT"
|
||||
;;
|
||||
3 )
|
||||
tribe="EnseignementsScientifique"
|
||||
tribe="Enseignement_Scientifique"
|
||||
;;
|
||||
4 )
|
||||
tribe="1NSI"
|
||||
@ -42,8 +42,8 @@ case $selection in
|
||||
tribe="1ST"
|
||||
;;
|
||||
esac
|
||||
|
||||
exec 3>&1
|
||||
|
||||
cd $tribe
|
||||
existing_seq=$(ls -d */)
|
||||
nbr_seq=$(echo $existing_seq | wc -w)
|
||||
@ -94,7 +94,8 @@ case $selection in
|
||||
esac
|
||||
|
||||
|
||||
sequence_path=$tribe/$(printf "%02d" $next_seq_number)_${title// /_}/
|
||||
title_path=$(echo ${title// /_} | iconv -f utf8 -t ascii//TRANSLIT)
|
||||
sequence_path=$tribe/$(printf "%02d" $next_seq_number)_${title_path}/
|
||||
mkdir -p $sequence_path
|
||||
|
||||
export title=$title
|
||||
|
Loading…
Reference in New Issue
Block a user