From: Jim Meyering Date: Thu, 2 Apr 2009 14:51:11 +0000 (+0200) Subject: tests: tweak po_check syntax check X-Git-Tag: v7.3~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7008e33441567ba87b3fb7538bd051e0bde2d155;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/maint.mk b/maint.mk index ac6a2bc06c..8b2ea6ce8c 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;; \