bootstrap: make sure gnulib file droppings are removed.

* bootstrap.conf (libtool_cleanup_empty_dirs): Recent bootstrap
updates set source_base to null, so we need to use ${x:-y} to
override the null.  Autoconf Shellology says that ancient BSD
/bin/sh chokes on :- defaults, but bootstrap is a developer tool,
and so we can reasonably expect a developer to have a working
/bin/sh to run the bootstrap script.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
This commit is contained in:
Gary V. Vaughan 2014-11-18 17:08:33 +00:00
parent 6d913552ff
commit bedb0e7866

View File

@ -309,7 +309,8 @@ libtool_cleanup_empty_dirs ()
{
$debug_cmd
my_gnulib_source=${source_base-'lib'}
my_gnulib_source=${source_base:-'lib'}
if test -d "$my_gnulib_source"; then
rm -f "$my_gnulib_source/.gitignore" "$my_gnulib_source/Makefile.am" || exit 1
rmdir "$my_gnulib_source" || exit 1