From: Jim Meyering Date: Sat, 9 Sep 2006 14:59:11 +0000 (+0000) Subject: * Makefile.maint (sc_prohibit_jm_in_m4): Don't hang when there X-Git-Tag: v6.2~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cc29b366aaa1169687b999ec1abd89b9886a2246;p=thirdparty%2Fcoreutils.git * Makefile.maint (sc_prohibit_jm_in_m4): Don't hang when there are no .m4 files. --- diff --git a/ChangeLog b/ChangeLog index e204153fc8..396779cc56 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-09-09 Jim Meyering + + * Makefile.maint (sc_prohibit_jm_in_m4): Don't hang when there + are no .m4 files. + 2006-09-08 Jim Meyering * bootstrap: Export CVS_RSH separate from its assignment, to work diff --git a/Makefile.maint b/Makefile.maint index 49afba5ef6..6825d8d13a 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -197,8 +197,8 @@ endif # On 2004-04-13, they were all changed to start with gl_ instead. # Make sure that none are inadvertently reintroduced. sc_prohibit_jm_in_m4: - @grep -nE 'jm_[A-Z]' \ - $$($(CVS_LIST) m4 |grep '\.m4$$') && \ + grep -nE 'jm_[A-Z]' \ + $$($(CVS_LIST) m4 |grep '\.m4$$'; echo /dev/null) && \ { echo '$(ME): do not use jm_ in m4 macro names' \ 1>&2; exit 1; } || :