Mercurial > hg > octave-nkf > gnulib-hg
changeset 15311:6dbde80a938c
bootstrap: do not insert a blank line into each .gitignore file
* build-aux/bootstrap (sort_patterns): Filter out blank lines.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Wed, 22 Jun 2011 08:21:05 +0200 |
parents | edde4951a1a8 |
children | 68e74bb147d6 |
files | ChangeLog build-aux/bootstrap |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-06-22 Jim Meyering <meyering@redhat.com> + + bootstrap: do not insert a blank line into each .gitignore file + * build-aux/bootstrap (sort_patterns): Filter out blank lines. + 2011-06-21 Eric Blake <eblake@redhat.com> perror: test for output mismatch
--- a/build-aux/bootstrap +++ b/build-aux/bootstrap @@ -1,6 +1,6 @@ #! /bin/sh # Print a version string. -scriptversion=2011-05-16.16; # UTC +scriptversion=2011-06-22.06; # UTC # Bootstrap this package from checked-out sources. @@ -290,7 +290,7 @@ P x s/^\n// - }' + }' | sed '/^$/d' } # If $STR is not already on a line by itself in $FILE, insert it,