]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix sed expression in TAGS command.
authorAndreas Schwab <schwab@redhat.com>
Fri, 7 Aug 2009 08:40:42 +0000 (10:40 +0200)
committerAndreas Schwab <schwab@redhat.com>
Fri, 7 Aug 2009 08:41:30 +0000 (10:41 +0200)
The backslash-newline pair is interpreted as the beginning of an address
regex.

ChangeLog
Makefile

index 94cfd068209c3f040b8c0669727e6c2c4ce133c8..c6169d776ecdf50dffcd22170d9d99f3ab8ebd06 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-08-07  Andreas Schwab  <schwab@redhat.com>
+
+       * Makefile (TAGS): Use separate sed -e expressions to avoid \
+       inside ''.
+
 2009-08-03  H.J. Lu  <hongjiu.lu@intel.com>
 
        * sysdeps/i386/i686/multiarch/strcspn.S: Add comments for no
index cab5ff3a1762bd689d9ebced028a0cd79d3be5bd..e346979c036850fa5844bb995a51971b9def1037 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -341,9 +341,9 @@ endif
 
 .PHONY: TAGS
 TAGS:
-       scripts/list-sources.sh | sed -n '/Makefile/p;\
+       scripts/list-sources.sh | sed -n -e '/Makefile/p' \
          $(foreach S,[chsSyl] cxx sh bash pl,\
-                   $(subst .,\.,/.$S\(.in\)*$$/p;))' \
+                   $(subst .,\.,-e '/.$S\(.in\)*$$/p')) \
        | $(ETAGS) -o $@ -
 \f
 # Make the distribution tarfile.