aboutsummaryrefslogtreecommitdiff
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)
downloadgnunet-4a95f48489d0046c4aad919d73573e1a6616688b.tar.gz
gnunet-4a95f48489d0046c4aad919d73573e1a6616688b.zip
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 {} \;
12find $PATHS -name "*.h" -exec indent {} \; 12find $PATHS -name "*.h" -exec indent {} \;
13find $PATHS -name "*.c" -exec indent {} \; 13find $PATHS -name "*.c" -exec indent {} \;
14find $PATHS -name "*.h" -exec indent {} \; 14find $PATHS -name "*.h" -exec indent {} \;
15find $PATHS -name "*.c" -exec contrib/removetrailingwhitespace {} \; 15find $PATHS -name "*.c" -exec contrib/removetrailingwhitespace.py {} \;
16find $PATHS -name "*.h" -exec contrib/removetrailingwhitespace {} \; 16find $PATHS -name "*.h" -exec contrib/removetrailingwhitespace.py {} \;
17if test -x "`which 'dos2unix'`" 17if test -x "`which 'dos2unix'`"
18then 18then
19 find $PATHS -name "*.c" -exec dos2unix {} \; 19 find $PATHS -name "*.c" -exec dos2unix {} \;