sanitizeFileName.bash: changement du hook
This commit is contained in:
parent
5018a23d20
commit
65e850b623
@ -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
|
||||
```
|
Loading…
Reference in New Issue
Block a user