diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-05-22 16:07:18 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-05-22 16:13:45 +0200 |
commit | 3dfd31c8d241295032c75a6f9c6df33b165914bd (patch) | |
tree | df3b77995538d5e858a843d4dca2467873382f53 /tools | |
parent | tree-wide: fix a couple of TABs (diff) | |
download | systemd-3dfd31c8d241295032c75a6f9c6df33b165914bd.tar.gz systemd-3dfd31c8d241295032c75a6f9c6df33b165914bd.tar.bz2 systemd-3dfd31c8d241295032c75a6f9c6df33b165914bd.zip |
find-double-newline: look in headers too
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/find-double-newline.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/find-double-newline.sh b/tools/find-double-newline.sh index c41811483..6e7e4cb69 100755 --- a/tools/find-double-newline.sh +++ b/tools/find-double-newline.sh @@ -10,7 +10,7 @@ case "$1" in DIR="$2" fi - find $DIR -type f \( -name '*.c' -o -name '*.xml' \) -exec $0 diff \{\} \; + find $DIR -type f \( -name '*.[ch]' -o -name '*.xml' \) -exec $0 diff \{\} \; ;; recpatch) @@ -20,7 +20,7 @@ case "$1" in DIR="$2" fi - find $DIR -type f \( -name '*.c' -o -name '*.xml' \) -exec $0 patch \{\} \; + find $DIR -type f \( -name '*.[ch]' -o -name '*.xml' \) -exec $0 patch \{\} \; ;; diff) |