summaryrefslogtreecommitdiff
path: root/pre-commit
diff options
context:
space:
mode:
authorNils Gillmann <ng0@n0.is>2018-05-17 16:38:30 +0000
committerNils Gillmann <ng0@n0.is>2018-05-17 16:38:30 +0000
commit4a95f48489d0046c4aad919d73573e1a6616688b (patch)
tree62c274cd29455e5c693de8f3c6a8336f4b785087 /pre-commit
parent93d2f7aa829d921527efb92b10c12d64552e1f12 (diff)
contrib/removetrailingwhitespace: sed the python
Signed-off-by: Nils Gillmann <ng0@n0.is>
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 5213f2cf4..777728a6b 100755
--- a/pre-commit
+++ b/pre-commit
@@ -12,8 +12,8 @@ find $PATHS -name "*.c" -exec indent {} \;
find $PATHS -name "*.h" -exec indent {} \;
find $PATHS -name "*.c" -exec indent {} \;
find $PATHS -name "*.h" -exec indent {} \;
-find $PATHS -name "*.c" -exec contrib/removetrailingwhitespace {} \;
-find $PATHS -name "*.h" -exec contrib/removetrailingwhitespace {} \;
+find $PATHS -name "*.c" -exec contrib/removetrailingwhitespace.py {} \;
+find $PATHS -name "*.h" -exec contrib/removetrailingwhitespace.py {} \;
if test -x "`which 'dos2unix'`"
then
find $PATHS -name "*.c" -exec dos2unix {} \;