summaryrefslogtreecommitdiff
path: root/pre-commit
blob: 2fc554236d70d8352596bfe18ce68fc32f308d24 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
find src/ -name "*.c" -exec indent {} \;
find src/ -name "*.c" -exec indent {} \;
if test -x "`which 'dos2unix'`"
then
  find src/ -name "*.c" -exec dos2unix {} \;
  find src/ -name "*.c" -exec dos2unix {} \;
fi