From: Andreas Schwab Date: Fri, 7 Aug 2009 08:40:42 +0000 (+0200) Subject: Fix sed expression in TAGS command. X-Git-Tag: fedora/glibc-2.10.90-13~1^2~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=77c84aeb81808c3109665949448dba59965c391e;p=thirdparty%2Fglibc.git Fix sed expression in TAGS command. The backslash-newline pair is interpreted as the beginning of an address regex. --- diff --git a/ChangeLog b/ChangeLog index 94cfd068209..c6169d776ec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-08-07 Andreas Schwab + + * Makefile (TAGS): Use separate sed -e expressions to avoid \ + inside ''. + 2009-08-03 H.J. Lu * sysdeps/i386/i686/multiarch/strcspn.S: Add comments for no diff --git a/Makefile b/Makefile index cab5ff3a176..e346979c036 100644 --- 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 $@ - # Make the distribution tarfile.