From: Jim Meyering Date: Thu, 23 Aug 2007 07:50:58 +0000 (+0200) Subject: bootstrap: generate more names and fix a bug X-Git-Tag: v6.9.89~183 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=173524ed7d0bb5f458251b796f23a2dfc49a4b24;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/ChangeLog b/ChangeLog index bd403da313..ea436ccc1f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2007-08-23 Jim Meyering + 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 diff --git a/bootstrap b/bootstrap index 413ee7f48f..24a1964c58 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