[mm-common] Avoid non-portable whitespace in sed expression



commit 3cc13c76ccb9e5247753835a0f1cd202d8334ac5
Author: Daniel Elstner <daniel kitta gmail com>
Date:   Fri Oct 16 12:59:07 2009 +0200

    Avoid non-portable whitespace in sed expression
    
    * build/dist-changelog.am (dist-changelog): According to the Autoconf
    documentation, POSIX does not allow whitespace between the ! operator
    and the command that follows it.

 build/dist-changelog.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/build/dist-changelog.am b/build/dist-changelog.am
index e98eda7..a3a2748 100644
--- a/build/dist-changelog.am
+++ b/build/dist-changelog.am
@@ -27,7 +27,7 @@ dist-changelog:
 	$(AM_V_at)if git --git-dir=$(top_srcdir)/.git --work-tree=$(top_srcdir) \
 		log --no-merges --date=short --pretty='tformat:%cd  %an  <%ae>%n%n%s%n%n%b' | \
 	 $(SED)	-e '/^[12]...-[01].-[0123].  [^<>]*  <[^<>]*>$$/,/^$$/ b' \
-		-e '/[^	 ]/,/^[	 ]*$$/! d' \
+		-e '/[^	 ]/,/^[	 ]*$$/ !d' \
 		-e 's/^[	 ]*/	/' \
 		-e 's/^[	 ]*$$//' >.ChangeLog.tmp; \
 	then mv -f .ChangeLog.tmp "$(top_distdir)/ChangeLog"; \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]