diff --git a/generator.sh b/generator.sh index bdd5a06..ffafed1 100755 --- a/generator.sh +++ b/generator.sh @@ -113,7 +113,7 @@ do lastmodif="$(stat -c "%y" "$i" | cut -d':' -f-2)" # Insertion de la ligne du tableau correspondant au fichier en cours de traitement - row "$i" "0" "-" "$lastmodif" "inode/directory" >> index.html + row "${i::-1}" "0" "-" "$lastmodif" "inode/directory" >> index.html done # Pour chaque fichier