sanitizeFileName.bash: changement du hook

This commit is contained in:
pu!s@r committed 2020-11-24 15:19:46 +01:00
1 parent 5018a23d20
commit 65e850b623
1 file changed
+3 -2
+3 -2
View File
@@ -17,9 +17,10 @@ pulsar@zazu:~$ bash ~/git/www.ykn.fr/.tools/sanitizeFileName.bash ~/git/www.ykn.
### Hook
```bash
tee ~/git/www.ykn.fr/.git/hooks/pre-commit <<EOF
pulsar@zazu:~$ tee ~/git/www.ykn.fr/.git/hooks/pre-commit <<EOF
#!/bin/bash
bash ~/git/git-hook/sanitizeFileName.bash ~/git/www.ykn.fr/content/articles
# Nettoyer le nom des fichiers pour les articles
bash ~/git/git-hooks/sanitizeFileName.bash ~/git/www.ykn.fr/content/articles
EOF
```