summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-08-23 09:50:58 +0200
committerJim Meyering <jim@meyering.net>2007-08-23 10:57:07 +0200
commit173524ed7d0bb5f458251b796f23a2dfc49a4b24 (patch)
tree31526620dbc446bfd59165dd792fda2f43589ecb /bootstrap
parent144fe359e1d3d13eb745afc907091bb54d67a692 (diff)
downloadcoreutils-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-xbootstrap3
1 files changed, 2 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index 413ee7f48..24a1964c5 100755
--- a/bootstrap
+++ b/bootstrap
@@ -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