diff options
author | Bernhard Voelker <mail@bernhard-voelker.de> | 2013-01-26 12:50:04 +0700 |
---|---|---|
committer | Gary V. Vaughan <gary@gnu.org> | 2013-01-26 12:54:44 +0700 |
commit | 05a3f4271916833e0f3639a09b331768451c1dd4 (patch) | |
tree | 56b6220082c0df5a619febd403b9ba8ba656f9fc /build-aux | |
parent | 2d96bc612cfd0542b8dfbeec74f0217d1e27eb82 (diff) | |
download | libtool-05a3f4271916833e0f3639a09b331768451c1dd4.tar.gz |
bootstrap: always auto-add .gitignore files at the top.
* gl/build-aux/bootstrap.in (func_gitignore_entries): New function.
Strip comments and blank lines.
(func_insert_sorted_if_absent): Renamed...
(func_insert_if_absent): ...to this. Adjust all callers.
Instead of comparing the sorted new file with the original,
compare the line count, being careful to diagnose duplicate
entries which would otherwise skew the count.
Co-authored-by: Gary V. Vaughan <gary@gnu.org>
Signed-off-by: Gary V. Vaughan <gary@gnu.org>
Diffstat (limited to 'build-aux')
0 files changed, 0 insertions, 0 deletions