mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
bootstrap: generate more names and fix a bug
* bootstrap (slurp): Don't test for existence of $copied, which is usually a newline-separated list of file names. When generating ignorable names, also map .sin to .sed, .gperf to .c, and .y to .c.
This commit is contained in:
1 parent
144fe359e1
commit
173524ed7d
2 files changed
+6
-1
No files matched your search
@@ -1,5 +1,9 @@
|
||||
2007-08-23 Jim Meyering <jim@meyering.net>
|
||||
|
||||
bootstrap: generate more ignorable names
|
||||
* bootstrap (slurp): When generating ignorable names, also map
|
||||
.sin to .sed, .gperf to .c, and .y to .c.
|
||||
|
||||
* Makefile.maint (patch-check): Don't remove temporaries upon failure.
|
||||
|
||||
2007-08-22 Jim Meyering <jim@meyering.net>
|
||||
|
||||
@@ -435,7 +435,8 @@ slurp() {
|
||||
# If an ignored file name ends with _.h, then also add
|
||||
# the name with just ".h". Many gnulib headers are generated,
|
||||
# e.g., stdint_.h -> stdint.h, dirent_.h ->..., etc.
|
||||
f=`echo "$copied"|sed 's/_\.h$/.h/'`
|
||||
# Likewise for .gperf -> .h, .y -> .c, and .sin -> .sed
|
||||
f=`echo "$copied"|sed 's/_\.h$/.h/;s/\.sin$/.sed/;s/\.y$/.c/;s/\.gperf$/.h/'`
|
||||
insert_sorted_if_absent $ig "$f"
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in new issue
Block a user