aboutsummaryrefslogtreecommitdiff
path: root/pre-commit
diff options
context:
space:
mode:
Diffstat (limited to 'pre-commit')
-rwxr-xr-xpre-commit4
1 files changed, 2 insertions, 2 deletions
diff --git a/pre-commit b/pre-commit
index 2fc554236..da86ca59c 100755
--- a/pre-commit
+++ b/pre-commit
@@ -1,8 +1,8 @@
1#!/bin/sh 1#!/bin/sh
2find src/ -name "*.c" -exec indent {} \; 2find src/ -name "*.c" -exec indent {} \;
3find src/ -name "*.c" -exec indent {} \; 3find src/ -name "*.h" -exec indent {} \;
4if test -x "`which 'dos2unix'`" 4if test -x "`which 'dos2unix'`"
5then 5then
6 find src/ -name "*.c" -exec dos2unix {} \; 6 find src/ -name "*.c" -exec dos2unix {} \;
7 find src/ -name "*.c" -exec dos2unix {} \; 7 find src/ -name "*.h" -exec dos2unix {} \;
8fi 8fi