From: Jim Meyering Date: Tue, 27 Apr 2010 15:29:03 +0000 (+0200) Subject: maint.mk: fix a bug introduced in last change X-Git-Tag: v0.1~4209 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=28e80472ab11689bbc4dfc878cf114fe57371e48;p=gnulib.git maint.mk: fix a bug introduced in last change * top/maint.mk (gl_assured_headers_): Now that all names are on one line, use sed's "g" modifier. Note that while the \.in\.h LHS is not anchored to end of word, it should be adequate. --- diff --git a/ChangeLog b/ChangeLog index 4d6e47368..c1c758d13 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2010-04-27 Jim Meyering + maint.mk: fix a bug introduced in last change + * top/maint.mk (gl_assured_headers_): Now that all names are on + one line, use sed's "g" modifier. Note that while the \.in\.h LHS + is not anchored to end of word, it should be adequate. + maint.mk: avoid side-effect in latest syntax-check * top/maint.mk (sc_prohibit_always_true_header_tests): Rework not to run commands via $(shell...), and hence to incur cost only when diff --git a/top/maint.mk b/top/maint.mk index 8d9a52233..ed41389a4 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -650,7 +650,7 @@ sc_useless_cpp_parens: # #if HAVE_HEADER_H that you remove, be sure that your project explicitly # requires the gnulib module that guarantees the usability of that header. gl_assured_headers_ = \ - cd $(gnulib_dir)/lib && echo *.in.h|sed 's/\.in\.h//' + cd $(gnulib_dir)/lib && echo *.in.h|sed 's/\.in\.h//g' # Convert the list of names to upper case, and replace each space with "|". az_ = abcdefghijklmnopqrstuvwxyz