header-check: fix it yet again
authorJim Meyering <jim@meyering.net>
Tue, 22 Jan 2002 11:22:03 +0000 (11:22 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 22 Jan 2002 11:22:03 +0000 (11:22 +0000)
Makefile.maint

index b04a7c0..4a42dd8 100644 (file)
@@ -63,7 +63,9 @@ local-check = \
 # It's not a big deal -- just aesthetics.
 header-check:
        if test -f $(srcdir)/src/sys2.h; then                           \
-         grep 'xalloc\.h' $(srcdir)/src/*.c || exit 1 && :;                    \
+         if grep 'xalloc\.h' $(srcdir)/src/*.c; then                   \
+           exit 1;                                                     \
+         fi;                                                           \
        fi
 
 # Ensure that date's --help output stays in sync with the info