diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-16 16:03:20 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-16 16:03:20 +0000 |
commit | 16a6919a9f98ee9fa1fee9dd262906c321004a19 (patch) | |
tree | e09d4fe5191dc329b3e1b667f2914f8313bcba59 /pre-commit | |
parent | 4d7904c62bb867c44e90b8e9f7cdbb4b283abc44 (diff) | |
download | gnunet-16a6919a9f98ee9fa1fee9dd262906c321004a19.tar.gz gnunet-16a6919a9f98ee9fa1fee9dd262906c321004a19.zip |
even nicer indentation, thanks to LRN's indent patch
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 2fc554236..da86ca59c 100755 --- a/pre-commit +++ b/pre-commit | |||
@@ -1,8 +1,8 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | find src/ -name "*.c" -exec indent {} \; | 2 | find src/ -name "*.c" -exec indent {} \; |
3 | find src/ -name "*.c" -exec indent {} \; | 3 | find src/ -name "*.h" -exec indent {} \; |
4 | if test -x "`which 'dos2unix'`" | 4 | if test -x "`which 'dos2unix'`" |
5 | then | 5 | then |
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 {} \; |
8 | fi | 8 | fi |