diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-08-22 19:19:57 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-08-22 19:19:57 +0000 |
commit | 0d35f28695ca02288aa473101c7baf243566702a (patch) | |
tree | 8427cfcfde7d40a9904ab22d41a63748c0d3f08b /bootstrap | |
parent | 711f81145e32fe10499623b624086271a5470659 (diff) | |
download | coreutils-0d35f28695ca02288aa473101c7baf243566702a.tar.xz |
* bootstrap (bootstrap_conf_cleanup): Remove.
(excluded_files): New var.
* bootstrap.conf: Likewise.
* bootstrap (slurp): Exclude files early if they're in the
excluded_files list. That way, their names don't get put into
.cvsignore.
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -83,8 +83,8 @@ XGETTEXT_OPTIONS='\\\ --flag=error:3:c-format --flag=error_at_line:5:c-format\\\ ' -# Clean up after getting gnulib and gettext files. -bootstrap_conf_cleanup() { :; } +# Files we don't want to import. +excluded_files= # Override the default configuration, if necessary. test -r bootstrap.conf && . ./bootstrap.conf @@ -214,6 +214,9 @@ slurp() { sep= for file in `ls $1/$dir`; do test -d $1/$dir/$file && continue + for excluded_file in $excluded_files; do + test "$dir/$file" = "$excluded_file" && continue 2 + done if test $file = Makefile.am; then copied=$copied${sep}gnulib.mk; sep=$nl echo "$0: Copying $1/$dir/$file to $dir/gnulib.mk ..." && @@ -282,8 +285,6 @@ slurp $bt2 $bt || exit rm -fr $bt $bt2 || exit -bootstrap_conf_cleanup || exit - # Reconfigure, getting other files. |