Skip to content

Commit

Permalink
Fix sed expression in TAGS command.
Browse files Browse the repository at this point in the history
The backslash-newline pair is interpreted as the beginning of an address
regex.
  • Loading branch information
Andreas Schwab committed Aug 7, 2009
1 parent 0eb258d commit 77c84ae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 77c84ae

Please sign in to comment.