From 4a95f48489d0046c4aad919d73573e1a6616688b Mon Sep 17 00:00:00 2001 From: Nils Gillmann Date: Thu, 17 May 2018 16:38:30 +0000 Subject: contrib/removetrailingwhitespace: sed the python Signed-off-by: Nils Gillmann --- pre-commit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pre-commit') 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 {} \; -- cgit v1.2.3