From: Jim Meyering Date: Wed, 22 Jun 2011 06:21:05 +0000 (+0200) Subject: bootstrap: do not insert a blank line into each .gitignore file X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90d0c4909f2b77d711ea6332a99a9332ff1bab36;p=pspp bootstrap: do not insert a blank line into each .gitignore file * build-aux/bootstrap (sort_patterns): Filter out blank lines. --- diff --git a/ChangeLog b/ChangeLog index 36d72ae7a1..2663e3246f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-06-22 Jim Meyering + + 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 perror: test for output mismatch diff --git a/build-aux/bootstrap b/build-aux/bootstrap index 522ac70a94..b286beb53f 100755 --- 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 @@ sort_patterns() { P x s/^\n// - }' + }' | sed '/^$/d' } # If $STR is not already on a line by itself in $FILE, insert it,