]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Makefile.in: Update the whitespacecheck target
authorFrancois-Xavier Le Bail <[email protected]>
Thu, 1 Jun 2023 12:59:02 +0000 (14:59 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Thu, 1 Jun 2023 13:03:08 +0000 (15:03 +0200)
install-sh has no longer a tab at the end of one line.

This is a follow-up to b5a4b9338ca5d063914b7bacbbdda5faf0b27ce4.

Makefile.in

index cd0f01c377418ca4b9f32519d5946d79c4de0c2e..80f5bc825b205fd4328c039acbc2cb027cb1fd5e 100644 (file)
@@ -546,8 +546,7 @@ whitespacecheck:
            exit 1; \
        fi
        @# trailing tab(s)?
-       @# install-sh has a tab at the end of one line
-       @if git grep -I -n '    $$' $$(git ls-files|grep -vE '^(tests/|install-sh$$)'); then \
+       @if git grep -I -n '    $$' $$(git ls-files|grep -v '^tests/'); then \
            echo 'Error: Trailing tabs(s).'; \
            exit 1; \
        fi