summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-06-22 08:21:05 +0200
committerJim Meyering <meyering@redhat.com>2011-06-22 08:33:32 +0200
commit90d0c4909f2b77d711ea6332a99a9332ff1bab36 (patch)
tree7b9a69780ace3251ffee35400e0430350549b7c8 /build-aux
parentbd73e5537678a8c727054c6ae39d8f5a80c172cf (diff)
downloadgnulib-90d0c4909f2b77d711ea6332a99a9332ff1bab36.tar.gz
bootstrap: do not insert a blank line into each .gitignore file
* build-aux/bootstrap (sort_patterns): Filter out blank lines.
Diffstat (limited to 'build-aux')
-rwxr-xr-xbuild-aux/bootstrap4
1 files changed, 2 insertions, 2 deletions
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,