summaryrefslogtreecommitdiff
path: root/maint.mk
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-04-02 16:51:11 +0200
committerJim Meyering <meyering@redhat.com>2009-04-04 10:49:36 +0200
commit7008e33441567ba87b3fb7538bd051e0bde2d155 (patch)
tree3f8ae0dba7f56056edd453327a0dff696e3ce88e /maint.mk
parent100d4983e77dc0c6b8efb588677ca6c9081d6e03 (diff)
downloadcoreutils-7008e33441567ba87b3fb7538bd051e0bde2d155.tar.xz
tests: tweak po_check syntax check
* maint.mk (sc_po_check): Don't let dangling lib/*.[ch] links cause spurious "grep: lib/file.h: No such file or directory" warnings.
Diffstat (limited to 'maint.mk')
-rw-r--r--maint.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/maint.mk b/maint.mk
index ac6a2bc06..8b2ea6ce8 100644
--- a/maint.mk
+++ b/maint.mk
@@ -566,6 +566,7 @@ sc_po_check:
| grep -v '^src/false\.c$$' | sort > $@-1; \
files=; \
for file in $$($(VC_LIST_EXCEPT)) lib/*.[ch]; do \
+ test -r $$file || continue; \
case $$file in \
*.?|*.??) ;; \
*) continue;; \