diff options
author | Nils Gillmann <ng0@n0.is> | 2018-05-17 16:38:30 +0000 |
---|---|---|
committer | Nils Gillmann <ng0@n0.is> | 2018-05-17 16:38:30 +0000 |
commit | 4a95f48489d0046c4aad919d73573e1a6616688b (patch) | |
tree | 62c274cd29455e5c693de8f3c6a8336f4b785087 /pre-commit | |
parent | 93d2f7aa829d921527efb92b10c12d64552e1f12 (diff) | |
download | gnunet-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-x | pre-commit | 4 |
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 {} \; | |||
12 | find $PATHS -name "*.h" -exec indent {} \; | 12 | find $PATHS -name "*.h" -exec indent {} \; |
13 | find $PATHS -name "*.c" -exec indent {} \; | 13 | find $PATHS -name "*.c" -exec indent {} \; |
14 | find $PATHS -name "*.h" -exec indent {} \; | 14 | find $PATHS -name "*.h" -exec indent {} \; |
15 | find $PATHS -name "*.c" -exec contrib/removetrailingwhitespace {} \; | 15 | find $PATHS -name "*.c" -exec contrib/removetrailingwhitespace.py {} \; |
16 | find $PATHS -name "*.h" -exec contrib/removetrailingwhitespace {} \; | 16 | find $PATHS -name "*.h" -exec contrib/removetrailingwhitespace.py {} \; |
17 | if test -x "`which 'dos2unix'`" | 17 | if test -x "`which 'dos2unix'`" |
18 | then | 18 | then |
19 | find $PATHS -name "*.c" -exec dos2unix {} \; | 19 | find $PATHS -name "*.c" -exec dos2unix {} \; |