diff options
author | Jim Meyering <jim@meyering.net> | 2007-08-23 09:50:58 +0200 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-08-23 10:57:07 +0200 |
commit | 173524ed7d0bb5f458251b796f23a2dfc49a4b24 (patch) | |
tree | 31526620dbc446bfd59165dd792fda2f43589ecb /bootstrap | |
parent | 144fe359e1d3d13eb745afc907091bb54d67a692 (diff) | |
download | coreutils-173524ed7d0bb5f458251b796f23a2dfc49a4b24.tar.xz |
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.
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |