>From d0c71ccfe812e38f49ce4223f4cc768dfc28ae70 Mon Sep 17 00:00:00 2001 From: John Spencer <maillist-lvm@barfooze.de> Date: Thu, 31 Jan 2013 04:15:22 +0100 Subject: [PATCH] make.tmpl.in: fix buggy sed statement that worked by luck using gnu sed The erroneous \ is ignored using gnu sed, but not by busybox sed (POSIX conformant). Signed-Off-By: John Spencer <maillist-lvm@barfooze.de> --- make.tmpl.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/make.tmpl.in b/make.tmpl.in index 8b56f01..cd49396 100644 --- a/make.tmpl.in +++ b/make.tmpl.in @@ -392,7 +392,7 @@ distclean: cleandir $(SUBDIRS.distclean) ( cat $(srcdir)/.exported_symbols; \ if test x$(EXPORTED_HEADER) != x; then \ $(CC) -E -P $(INCLUDES) $(DEFS) $(EXPORTED_HEADER) | \ - $(SED) -ne "/^typedef|}/!s/.*[ \*]\(\$(EXPORTED_FN_PREFIX)_[a-z0-9_]*\)(.*/\1/p"; \ + $(SED) -ne "/^typedef|}/!s/.*[ \*]\($(EXPORTED_FN_PREFIX)_[a-z0-9_]*\)(.*/\1/p"; \ fi \ ) > $@ -- 1.7.3.4
_______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/